pygobject r849 - in trunk: . glib
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: pygobject r849 - in trunk: . glib
- Date: Wed, 23 Jul 2008 10:49:29 +0000 (UTC)
Author: johan
Date: Wed Jul 23 10:49:28 2008
New Revision: 849
URL: http://svn.gnome.org/viewvc/pygobject?rev=849&view=rev
Log:
2008-07-23 Johan Dahlin <johan gnome org>
* glib/pyglib.c (_pyglib_destroy_notify):
Rename the function too, not just the prototype!
Modified:
trunk/ChangeLog
trunk/glib/pyglib.c
Modified: trunk/glib/pyglib.c
==============================================================================
--- trunk/glib/pyglib.c (original)
+++ trunk/glib/pyglib.c Wed Jul 23 10:49:28 2008
@@ -340,20 +340,20 @@
}
/**
- * pyglib_destroy_notify:
+ * _pyglib_destroy_notify:
* @user_data: a PyObject pointer.
*
* A function that can be used as a GDestroyNotify callback that will
* call Py_DECREF on the data.
*/
void
-pyglib_destroy_notify(gpointer user_data)
+_pyglib_destroy_notify(gpointer user_data)
{
PyObject *obj = (PyObject *)user_data;
PyGILState_STATE state;
g_return_if_fail (_PyGLib_API != NULL);
-
+
state = pyglib_gil_state_ensure();
Py_DECREF(obj);
pyglib_gil_state_release(state);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]