Bug 701838 - Work around a semantic API break in GObject
authorTristan Van Berkom <tristanvb@openismus.com>
Sat, 8 Jun 2013 14:12:14 +0000 (10:12 -0400)
committerTristan Van Berkom <tristanvb@openismus.com>
Mon, 17 Jun 2013 07:36:32 +0000 (16:36 +0900)
commit5f4dba9cb7461e9fee3f83d72e4680cf8e60767a
tree8fbd9db656a35f7717fb1f1b0ba5830944bca756
parentb68fc3722d181b10feac5f5174cfe9cfb20ccfaa
Bug 701838 - Work around a semantic API break in GObject

Recent versions of GObject fire critical messages if properties are
installed outside of class initializers (causing all of EDS tests to
fail).  This patch adds some class data and initializes the class in
the dynamic subclass initializer.

Note that the class data which should normally be freed in the class
finalizer is not freed, since it is a static type the finalizer will
never run (and GLib also takes the liberty of firing critical messages
for specifying a class finalizer).
libedataserver/e-source-camel.c