GNOME Bugzilla – Bug 524719
[PATCH] add Source.is_destroyed property
Last modified: 2012-04-04 15:57:07 UTC
The g_source_is_destroyed() method http://library.gnome.org/devel/glib/stable/glib-The-Main-Event-Loop.html#g-source-is-destroyed is important but not wrapped. A patch adding an is_destroyed property wrapping this method is attached.
Created attachment 108146 [details] [review] bcs_source_is_destroyed.patch Patch against r755. Adds an is_destroyed property to the source wrapper. Requires the patch set at bug #510511.
Created attachment 108147 [details] [review] bcs_test_is_destroyed.patch Patch adding tests of the is_destroyed property. Requires the patch set at bug #510511.
I rewrote the patches to work with the current pygobject, and made is_destroyed() a method instead of a property, to comply with the C API. http://git.gnome.org/browse/pygobject/commit/?id=d4054be9de3b7e4ed64c8172ebbde0a697462c79 Thanks!