File pygtk2-c99.patch of Package python-gtk

diff --git a/pango.override b/pango.override
index afe43aba3a6ebe81..3e33e1b598322096 100644
--- a/pango.override
+++ b/pango.override
@@ -27,6 +27,12 @@ headers
 #include <pygobject.h>
 #include <pango/pango.h>
 
+/* These internal functions are still exported, so just declare them
+   here.  There does not seem to be a simple way to ween pygtk2 off
+   them.  */
+PangoFontMetrics *pango_font_metrics_new (void);
+const char *pango_font_map_get_shape_engine_type (PangoFontMap *);
+
 typedef struct {
     PyObject *func, *data;
 } PyGtkCustomNotify;
openSUSE Build Service is sponsored by