From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 875F9429E25 for ; Sat, 10 Sep 2011 11:22:35 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zqy62wy4QA4G for ; Sat, 10 Sep 2011 11:22:35 -0700 (PDT) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 007B1431FB6 for ; Sat, 10 Sep 2011 11:22:34 -0700 (PDT) Received: from zancas.localnet (fctnnbsc36w-156034073093.pppoe-dynamic.High-Speed.nb.bellaliant.net [156.34.73.93]) (authenticated bits=0) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id p8AIMVfv023708 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Sat, 10 Sep 2011 15:22:32 -0300 Received: from bremner by zancas.localnet with local (Exim 4.76) (envelope-from ) id 1R2SCF-0008GE-2G; Sat, 10 Sep 2011 15:22:31 -0300 From: David Bremner To: Aaron Ecay , notmuch@notmuchmail.org Subject: Re: [PATCH] Add missing call to g_type_init() In-Reply-To: <1311637138-13963-1-git-send-email-aaronecay@gmail.com> References: <87bowiccax.fsf@servo.factory.finestructure.net> <1311637138-13963-1-git-send-email-aaronecay@gmail.com> User-Agent: Notmuch/0.8 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Sat, 10 Sep 2011 15:22:31 -0300 Message-ID: <87obyscl5k.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2011 18:22:35 -0000 On Mon, 25 Jul 2011 19:38:58 -0400, Aaron Ecay 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