]> git.notmuchmail.org Git - notmuch/commit
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)
commitfa52a0d094a6585f36f484082fc3e28261718e72
tree7a3061a39ebf7d5e912c9db3286b6233e1669552
parent0a7aa617d59a1c40efb0fa7726fb74bded9e240b
Add missing call to g_type_init()

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
notmuch.c