Re: [PATCH] Add missing call to g_type_init()

Subject: Re: [PATCH] Add missing call to g_type_init()

Date: Sat, 10 Sep 2011 15:22:31 -0300

To: Aaron Ecay, notmuch@notmuchmail.org

Cc:

From: David Bremner


On Mon, 25 Jul 2011 19:38:58 -0400, Aaron Ecay <aaronecay@gmail.com> wrote:
> 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

I have pushed this patch. Thanks for your contribution.

d

Thread: