GNOME Bugzilla – Bug 665362
Mixing static and GI bindings in examples causes crashes
Last modified: 2011-12-02 14:22:52 UTC
With current pygobject versions it is not possible any more to mix static and GI bindings if they load the same libraries. For example, background-image.py causes $ nautilus /usr/lib/python2.7/dist-packages/gobject/constants.py:26: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed import gobject._gobject ** (nautilus:23823): DEBUG: SyncDaemon already running, initializing SyncdaemonDaemon object Initializing nautilus-gdu extension TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases Speicherzugriffsfehler (Speicherabzug geschrieben) as soon as you change a folder. I'll work on a patch now.
Created attachment 202570 [details] [review] Port remaining examples to GI bindings/GSettings OK for me to commit? Thanks!
Sure that looks fine. Thanks.
Thanks, pushed.