diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | gobject/pygobject.c | 11 |
2 files changed, 0 insertions, 16 deletions
@@ -1,8 +1,3 @@ -2007-07-07 Gustavo J. A. M. Carneiro <gjc@gnome.org> - - * gobject/pygobject.c (pygobject_run_dispose): - Bug 398696 – Wrap g_object_run_dispose. - 2007-04-30 Johannes Hölzl <johannes.hoelzl@gmx.de> * gobject/gobjectmodule.c (init_gobjectmodule), diff --git a/gobject/pygobject.c b/gobject/pygobject.c index 1248474..fb3fb1d 100644 --- a/gobject/pygobject.c +++ b/gobject/pygobject.c @@ -1959,16 +1959,6 @@ pygobject_handler_unblock_by_func(PyGObject *self, PyObject *args) return PyInt_FromLong(retval); } - -static PyObject * -pygobject_run_dispose(PyGObject *self, PyObject *args) -{ - CHECK_GOBJECT(self); - g_object_run_dispose(self->obj); - Py_INCREF(Py_None); - return Py_None; -} - static PyMethodDef pygobject_methods[] = { { "__gobject_init__", (PyCFunction)pygobject__gobject_init__, METH_VARARGS|METH_KEYWORDS }, @@ -1998,7 +1988,6 @@ static PyMethodDef pygobject_methods[] = { { "emit_stop_by_name", (PyCFunction)pygobject_stop_emission,METH_VARARGS }, { "chain", (PyCFunction)pygobject_chain_from_overridden,METH_VARARGS }, { "weak_ref", (PyCFunction)pygobject_weak_ref, METH_VARARGS }, - { "run_dispose", (PyCFunction)pygobject_run_dispose, METH_NOARGS }, { NULL, NULL, 0 } }; |
