]> git.notmuchmail.org Git - notmuch/commitdiff
Add missing call to g_type_init()
authorAaron Ecay <aaronecay@gmail.com>
Mon, 25 Jul 2011 23:38:58 +0000 (19:38 -0400)
committerDavid Bremner <bremner@debian.org>
Sat, 10 Sep 2011 18:19:51 +0000 (15:19 -0300)
The Glib docs state "Prior to any use of the type system, g_type_init() has to
be called".[1] To not do so can lead to segfaults.  The g_type system is
currently used by various "filters" that operate on uuencoded text, message
headers, etc.

[1] http://developer.gnome.org/gobject/2.28/gobject-Type-Information.html#g-type-init


No differences found