diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-06-28 11:42:26 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-06-28 11:42:26 +0800 |
commit | 1d5cb0f6b3309aded361802d9169fe5a311db779 (patch) | |
tree | ff95d2dea58653b6bc8ce08210c10a0ed7b78ea0 /x11-toolkits/py-gtk2/files | |
parent | e3ea1b43778b3c3bd794eb40536d7894b529b73a (diff) | |
download | marcuscom-ports-1d5cb0f6b3309aded361802d9169fe5a311db779.tar marcuscom-ports-1d5cb0f6b3309aded361802d9169fe5a311db779.tar.gz marcuscom-ports-1d5cb0f6b3309aded361802d9169fe5a311db779.tar.bz2 marcuscom-ports-1d5cb0f6b3309aded361802d9169fe5a311db779.tar.lz marcuscom-ports-1d5cb0f6b3309aded361802d9169fe5a311db779.tar.xz marcuscom-ports-1d5cb0f6b3309aded361802d9169fe5a311db779.tar.zst marcuscom-ports-1d5cb0f6b3309aded361802d9169fe5a311db779.zip |
Fix the build with the new GTK+.
gtk/gtk.override (_wrap_gtk_tooltips__get_tips_data_list): Do not
access GtkTooltips->tips_data_list, just return an empty list instead
since it's private and it was renamed on trunk (#449318)
Submitted by: Pawel Worach <pawel.worach@gmail.com>
Obtained from: GNOME SVN
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9088 df743ca5-7f9a-e211-a948-0013205c9059
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 |