- fix crash using TreeView.convert_widget_to_bin_window_coords
This commit is contained in:
parent
143b701dda
commit
dc617ce387
58
pygtk-treeview-convert.patch
Normal file
58
pygtk-treeview-convert.patch
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
Index: gtk/gtktreeview.override
|
||||||
|
===================================================================
|
||||||
|
--- gtk/gtktreeview.override (revision 2907)
|
||||||
|
+++ gtk/gtktreeview.override (working copy)
|
||||||
|
@@ -3321,7 +3321,7 @@
|
||||||
|
return Py_None;
|
||||||
|
}
|
||||||
|
%%
|
||||||
|
-override gtk_tree_view_convert_widget_to_bin_window_coords args
|
||||||
|
+override gtk_tree_view_convert_widget_to_bin_window_coords kwargs
|
||||||
|
static PyObject*
|
||||||
|
_wrap_gtk_tree_view_convert_widget_to_bin_window_coords(PyGObject *self,
|
||||||
|
PyObject *args,
|
||||||
|
@@ -3342,7 +3342,7 @@
|
||||||
|
return Py_BuildValue("(ii)", window_x, window_y);
|
||||||
|
}
|
||||||
|
%%
|
||||||
|
-override gtk_tree_view_convert_widget_to_tree_coords args
|
||||||
|
+override gtk_tree_view_convert_widget_to_tree_coords kwargs
|
||||||
|
static PyObject*
|
||||||
|
_wrap_gtk_tree_view_convert_widget_to_tree_coords(PyGObject *self,
|
||||||
|
PyObject *args,
|
||||||
|
@@ -3363,7 +3363,7 @@
|
||||||
|
return Py_BuildValue("(ii)", tree_x, tree_y);
|
||||||
|
}
|
||||||
|
%%
|
||||||
|
-override gtk_tree_view_convert_tree_to_widget_coords args
|
||||||
|
+override gtk_tree_view_convert_tree_to_widget_coords kwargs
|
||||||
|
static PyObject*
|
||||||
|
_wrap_gtk_tree_view_convert_tree_to_widget_coords(PyGObject *self,
|
||||||
|
PyObject *args,
|
||||||
|
@@ -3384,7 +3384,7 @@
|
||||||
|
return Py_BuildValue("(ii)", widget_x, widget_y);
|
||||||
|
}
|
||||||
|
%%
|
||||||
|
-override gtk_tree_view_convert_tree_to_bin_window_coords args
|
||||||
|
+override gtk_tree_view_convert_tree_to_bin_window_coords kwargs
|
||||||
|
static PyObject*
|
||||||
|
_wrap_gtk_tree_view_convert_tree_to_bin_window_coords(PyGObject *self,
|
||||||
|
PyObject *args,
|
||||||
|
@@ -3405,7 +3405,7 @@
|
||||||
|
return Py_BuildValue("(ii)", window_x, window_y);
|
||||||
|
}
|
||||||
|
%%
|
||||||
|
-override gtk_tree_view_convert_bin_window_to_widget_coords args
|
||||||
|
+override gtk_tree_view_convert_bin_window_to_widget_coords kwargs
|
||||||
|
static PyObject*
|
||||||
|
_wrap_gtk_tree_view_convert_bin_window_to_widget_coords(PyGObject *self,
|
||||||
|
PyObject *args,
|
||||||
|
@@ -3426,7 +3426,7 @@
|
||||||
|
return Py_BuildValue("(ii)", widget_x, widget_y);
|
||||||
|
}
|
||||||
|
%%
|
||||||
|
-override gtk_tree_view_convert_bin_window_to_tree_coords args
|
||||||
|
+override gtk_tree_view_convert_bin_window_to_tree_coords kwargs
|
||||||
|
static PyObject*
|
||||||
|
_wrap_gtk_tree_view_convert_bin_window_to_tree_coords(PyGObject *self,
|
||||||
|
PyObject *args,
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: pygtk2
|
Name: pygtk2
|
||||||
Version: 2.12.0
|
Version: 2.12.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: Python bindings for GTK+
|
Summary: Python bindings for GTK+
|
||||||
@ -21,6 +21,9 @@ Patch0: pygtk-nodisplay-exception.patch
|
|||||||
# RH bug #217430 / GNOME bug #380020
|
# RH bug #217430 / GNOME bug #380020
|
||||||
Patch1: pygtk2-2.10.3-install-extrafuncs.patch
|
Patch1: pygtk2-2.10.3-install-extrafuncs.patch
|
||||||
|
|
||||||
|
# fix segfault using treeview coordinate conversion methods (GNOME #479012)
|
||||||
|
Patch2: pygtk-treeview-convert.patch
|
||||||
|
|
||||||
### Dependencies ###
|
### Dependencies ###
|
||||||
|
|
||||||
Requires: gtk2 >= 2.9.4
|
Requires: gtk2 >= 2.9.4
|
||||||
@ -83,6 +86,7 @@ libraries so that they interoperate with pygtk.
|
|||||||
%setup -q -n pygtk-%{version}
|
%setup -q -n pygtk-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1 -b .install-extrafuncs
|
%patch1 -p1 -b .install-extrafuncs
|
||||||
|
%patch2 -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-thread --enable-numpy
|
%configure --enable-thread --enable-numpy
|
||||||
@ -144,6 +148,9 @@ rm -fr $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/gtk-doc/html/pygtk
|
%{_datadir}/gtk-doc/html/pygtk
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 21 2007 Jeremy Katz <katzj@redhat.com> - 2.12.0-2.fc8
|
||||||
|
- fix crash using TreeView.convert_widget_to_bin_window_coords
|
||||||
|
|
||||||
* Sun Sep 16 2007 Matthew Barnes <mbarnes@redhat.com> - 2.12.0-1.fc8
|
* Sun Sep 16 2007 Matthew Barnes <mbarnes@redhat.com> - 2.12.0-1.fc8
|
||||||
- Update to 2.12.0
|
- Update to 2.12.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user