rpms/gnome-menus/devel gnome-menus-pythread-bgo442747.patch, NONE, 1.1 gnome-menus.spec, 1.57, 1.58
Colin Walters (walters)
fedora-extras-commits at redhat.com
Thu Jun 14 19:27:14 UTC 2007
- Previous message (by thread): rpms/bluez-gnome/F-7 .cvsignore, 1.3, 1.4 bluez-gnome.spec, 1.3, 1.4 sources, 1.3, 1.4 bluez-gnome-0.6-multiple-adaptors.patch, 1.1, NONE bluez-gnome-0.6-tab-size.patch, 1.1, NONE
- Next message (by thread): fedora-security/audit fc7,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: walters
Update of /cvs/extras/rpms/gnome-menus/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12691
Modified Files:
gnome-menus.spec
Added Files:
gnome-menus-pythread-bgo442747.patch
Log Message:
add patch
gnome-menus-pythread-bgo442747.patch:
--- NEW FILE gnome-menus-pythread-bgo442747.patch ---
--- gnome-menus-2.18.0/python/gmenu.c~ 2007-03-12 14:49:27.000000000 -0400
+++ gnome-menus-2.18.0/python/gmenu.c 2007-06-05 19:55:37.000000000 -0400
@@ -1497,6 +1497,9 @@
{
PyObject *args;
PyObject *ret;
+ PyGILState_STATE gstate;
+
+ gstate = PyGILState_Ensure();
args = PyTuple_New (callback->user_data ? 2 : 1);
@@ -1513,6 +1516,8 @@
Py_XDECREF (ret);
Py_DECREF (args);
+
+ PyGILState_Release(gstate);
}
static PyObject *
@@ -1522,10 +1527,15 @@
PyGMenuTree *tree;
PyGMenuTreeCallback *callback;
PyObject *pycallback;
- PyObject *pyuser_data;
+ PyObject *pyuser_data = NULL;
if (!PyArg_ParseTuple (args, "O|O:gmenu.Tree.add_monitor", &pycallback, &pyuser_data))
return NULL;
+ if (!PyCallable_Check(pycallback))
+ {
+ PyErr_SetString(PyExc_TypeError, "callback must be callable");
+ return NULL;
+ }
tree = (PyGMenuTree *) self;
Index: gnome-menus.spec
===================================================================
RCS file: /cvs/extras/rpms/gnome-menus/devel/gnome-menus.spec,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- gnome-menus.spec 4 Jun 2007 19:50:57 -0000 1.57
+++ gnome-menus.spec 14 Jun 2007 19:26:43 -0000 1.58
@@ -6,11 +6,12 @@
Summary: A menu system for the GNOME project
Name: gnome-menus
Version: 2.19.3
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPL
Group: System Environment/Libraries
URL: http://www.gnome.org/
Source0: http://download.gnome.org/sources/gnome-menus/2.19/%{name}-%{version}.tar.bz2
+Patch0: gnome-menus-pythread-bgo442747.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: redhat-menus >= 7.8.9-2
BuildRequires: glib2-devel >= 2.6.0
@@ -42,6 +43,7 @@
%prep
%setup -q
+%patch0 -p1
%build
%configure \
@@ -98,6 +100,9 @@
%{_includedir}/gnome-menus
%changelog
+* Thu Jun 14 2007 Colin Walters <walters at redhat.com> - 2.19.3-2
+- Add patch gnome-menus-pythread-bgo442747.patch
+
* Mon Jun 4 2007 Matthias Clasen <mclasen at redhat.com> - 2.19.3-1
- Update to 2.19.3
- Previous message (by thread): rpms/bluez-gnome/F-7 .cvsignore, 1.3, 1.4 bluez-gnome.spec, 1.3, 1.4 sources, 1.3, 1.4 bluez-gnome-0.6-multiple-adaptors.patch, 1.1, NONE bluez-gnome-0.6-tab-size.patch, 1.1, NONE
- Next message (by thread): fedora-security/audit fc7,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list