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)
committerMatthew Barnes <mbarnes@redhat.com>
Sat, 8 Jun 2013 14:18:28 +0000 (10:18 -0400)
commit069ca4ff6b62d7c4a04c6e23db218c585b13778f
treec7e5d6e7257f8dcc45e2530cde47347f3e74d1e5
parent1cb622977de193def927f86d74d558818560c8e3
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