diff options
Diffstat (limited to 'x11-toolkits/py-gtk2/files')
-rw-r--r-- | x11-toolkits/py-gtk2/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | x11-toolkits/py-gtk2/files/patch-gtk_gtk.override | 30 |
2 files changed, 41 insertions, 0 deletions
diff --git a/x11-toolkits/py-gtk2/files/patch-Makefile.in b/x11-toolkits/py-gtk2/files/patch-Makefile.in new file mode 100644 index 000000000..b9cedaf23 --- /dev/null +++ b/x11-toolkits/py-gtk2/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Tue Sep 5 02:02:53 2006 ++++ Makefile.in Tue Sep 5 02:06:11 2006 +@@ -292,7 +292,7 @@ sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + AUTOMAKE_OPTIONS = 1.7 + @BUILD_GTK_TRUE@GTK_SUBDIR = gtk +-SUBDIRS = codegen . $(GTK_SUBDIR) examples tests docs ++SUBDIRS = codegen . $(GTK_SUBDIR) examples + PLATFORM_VERSION = 2.0 + CLEANFILES = atk.c pango.c pangocairo.c + EXTRA_DIST = \ diff --git a/x11-toolkits/py-gtk2/files/patch-gtk_gtk.override b/x11-toolkits/py-gtk2/files/patch-gtk_gtk.override new file mode 100644 index 000000000..8397e91cf --- /dev/null +++ b/x11-toolkits/py-gtk2/files/patch-gtk_gtk.override @@ -0,0 +1,30 @@ +--- gtk/gtk.override 2007/06/17 16:49:26 2830 ++++ gtk/gtk.override 2007/06/24 12:49:44 2831 +@@ -3127,26 +3127,7 @@ + static PyObject * + _wrap_gtk_tooltips__get_tips_data_list(PyGObject *self, void *closure) + { +- GList *list = GTK_TOOLTIPS(self->obj)->tips_data_list; +- gint i, length; +- PyObject *pylist; +- GList *iter; +- +- length = g_list_length(list); +- pylist = PyList_New(length); +- +- i = 0; +- for (iter = list; iter; iter = iter->next) { +- GtkTooltipsData *data = (GtkTooltipsData*)iter->data; +- PyObject *item = Py_BuildValue("NNss", +- pygobject_new((GObject *)data->tooltips), +- pygobject_new((GObject *)data->widget), +- data->tip_text, +- data->tip_private); +- PyList_SetItem(pylist, i, item); +- Py_INCREF(item); +- } +- return pylist; ++ return PyList_New(0); + } + %% + override-attr GtkAdjustment.value |