GNOME Bugzilla – Bug 701838
Work around a semantic API break in GObject
Last modified: 2013-09-21 13:37:30 UTC
Created attachment 246298 [details] [review] Move property installation and various class initialization details to subclass_class_init() Now GObject fires critical assertions if g_object_class_install_property() is called outside of a class initializer. Critical warnings cause test cases to abort, currently all of our test cases fail because e_source_camel_generate_subtype() installs properties on generated types after the class initializer finishes. Attached patch moves the related class initialization code into the class initializer.
*** Bug 701804 has been marked as a duplicate of this bug. ***
Man, the things we get away with without calling an API break an API break... Thanks much for the patch. Glad someone else out there understands this crazy glue code I had to write for Camel. Committed for E-D-S 3.9.3 and 3.8.3: https://git.gnome.org/browse/evolution-data-server/commit/?id=069ca4ff6b62d7c4a04c6e23db218c585b13778f https://git.gnome.org/browse/evolution-data-server/commit/?h=gnome-3-8&id=32a40cabc8f0cb00702dfeebbdb762d5a28e5789