- Update to 2.15.3
This commit is contained in:
parent
93890e0494
commit
09daf4499a
@ -1 +1 @@
|
||||
pygobject-2.15.2.tar.bz2
|
||||
pygobject-2.15.3.tar.bz2
|
||||
|
||||
@ -1,32 +1,13 @@
|
||||
diff -up pygobject-2.15.2/glib/pyglib.c.thread-init pygobject-2.15.2/glib/pyglib.c
|
||||
diff -up pygobject-2.15.2/gobject/gobjectmodule.c.thread-init pygobject-2.15.2/gobject/gobjectmodule.c
|
||||
--- pygobject-2.15.2/gobject/gobjectmodule.c.thread-init 2008-07-26 06:21:44.000000000 -0400
|
||||
+++ pygobject-2.15.2/gobject/gobjectmodule.c 2008-08-07 15:06:01.000000000 -0400
|
||||
@@ -1944,6 +1944,18 @@ pyg_threads_init (PyObject *unused, PyOb
|
||||
return Py_None;
|
||||
}
|
||||
|
||||
+/* Only for backwards compatibility */
|
||||
+int
|
||||
+pygobject_enable_threads(void)
|
||||
+{
|
||||
+ if (!pyglib_enable_threads())
|
||||
+ return -1;
|
||||
diff -up pygobject-2.15.3/gobject/gobjectmodule.c.threads-init pygobject-2.15.3/gobject/gobjectmodule.c
|
||||
--- pygobject-2.15.3/gobject/gobjectmodule.c.threads-init 2008-08-31 17:11:51.000000000 -0400
|
||||
+++ pygobject-2.15.3/gobject/gobjectmodule.c 2008-08-31 20:33:54.000000000 -0400
|
||||
@@ -1809,6 +1809,9 @@ pygobject_enable_threads(void)
|
||||
{
|
||||
if (!pyglib_enable_threads())
|
||||
return -1;
|
||||
+
|
||||
+ pygobject_api_functions.threads_enabled = TRUE;
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
static PyObject *
|
||||
pyg_signal_accumulator_true_handled(PyObject *unused, PyObject *args)
|
||||
{
|
||||
@@ -2639,7 +2648,7 @@ struct _PyGObject_Functions pygobject_ap
|
||||
pyg_flags_from_gtype,
|
||||
return 0;
|
||||
}
|
||||
|
||||
FALSE, /* threads_enabled */
|
||||
- pyglib_enable_threads,
|
||||
+ pygobject_enable_threads,
|
||||
pygobject_gil_state_ensure,
|
||||
pygobject_gil_state_release,
|
||||
pyg_register_class_init,
|
||||
|
||||
@ -7,8 +7,8 @@
|
||||
### Abstract ###
|
||||
|
||||
Name: pygobject2
|
||||
Version: 2.15.2
|
||||
Release: 3%{?dist}
|
||||
Version: 2.15.3
|
||||
Release: 1%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: Development/Languages
|
||||
Summary: Python bindings for GObject
|
||||
@ -116,6 +116,9 @@ rm -fr $RPM_BUILD_ROOT
|
||||
%{_datadir}/pygobject/xsl
|
||||
|
||||
%changelog
|
||||
* Sun Aug 31 2008 Matthew Barnes <mbarnes@redhat.com> - 2.15.3-1.fc10
|
||||
- Update to 2.15.3
|
||||
|
||||
* Tue Aug 12 2008 Matthew Barnes <mbarnes@redhat.com> - 2.15.2-3.fc10
|
||||
- Modify thread initialization patch to fix RH bug #458522.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user