GNOME Bugzilla – Bug 624834
Remove deprecated sink functions
Last modified: 2010-08-07 22:45:24 UTC
This is handled automatically now; see commit 00a85f6a844714d1 in pygobject.
Created attachment 166208 [details] [review] Remove deprecated sink functions
Comment on attachment 166208 [details] [review] Remove deprecated sink functions Commit away
Attachment 166208 [details] pushed as 0d78815 - Remove deprecated sink functions
I get many test failures in pygtk with this applied and built against pygobject-2.21.3 (or later). $ python runtests.py test_bin.py Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory Gtk-WARNING **: A floating object was finalized. This means that someone called g_object_unref() on an object that had only a floating reference; the initial floating reference is not owned by anyone and must be removed with g_object_ref_sink(). aborting... Trace/breakpoint trap Thoughts?
(In reply to comment #4) > I get many test failures in pygtk with this applied and built against > pygobject-2.21.3 (or later). > > $ python runtests.py test_bin.py > Gtk-Message: Failed to load module "canberra-gtk-module": > libcanberra-gtk-module.so: cannot open shared object file: No such file or > directory > > Gtk-WARNING **: A floating object was finalized. This means that someone > called g_object_unref() on an object that had only a floating > reference; the initial floating reference is not owned by anyone > and must be removed with g_object_ref_sink(). > aborting... > Trace/breakpoint trap > > > Thoughts? I would have expected these failures only in pygobject-2.21.3. Tests pass here, can you check you are using a recent enough PyGObject?
(In reply to comment #5) > (In reply to comment #4) > > I get many test failures in pygtk with this applied and built against > > pygobject-2.21.3 (or later). > > > > $ python runtests.py test_bin.py > > Gtk-Message: Failed to load module "canberra-gtk-module": > > libcanberra-gtk-module.so: cannot open shared object file: No such file or > > directory > > > > Gtk-WARNING **: A floating object was finalized. This means that someone > > called g_object_unref() on an object that had only a floating > > reference; the initial floating reference is not owned by anyone > > and must be removed with g_object_ref_sink(). > > aborting... > > Trace/breakpoint trap > > > > > > Thoughts? > > I would have expected these failures only in pygobject-2.21.3. > > Tests pass here, can you check you are using a recent enough PyGObject? Yeah, I was off by one version. Apologies