[PATCH] lib: call g_type_init from notmuch_database_open

2011-12-06 Thread Sebastian Spaeth
On Sun, 4 Dec 2011 15:35:14 -0400, David Bremner wrote: > From: David Bremner > This seems to fix the segfault for me. Any other comments/experiences? > +/* Initialize the GLib type system and threads */ > +g_type_init (); > + Thanks the patch looks sane, and relieves me from doing

Re: [PATCH] lib: call g_type_init from notmuch_database_open

2011-12-06 Thread Sebastian Spaeth
On Sun, 4 Dec 2011 15:35:14 -0400, David Bremner da...@tethera.net wrote: From: David Bremner brem...@debian.org This seems to fix the segfault for me. Any other comments/experiences? +/* Initialize the GLib type system and threads */ +g_type_init (); + Thanks the patch looks

[PATCH] lib: call g_type_init from notmuch_database_open

2011-12-05 Thread bjoernb
David Bremner david at tethera.net Sun Dec 4 11:35:14 PST 2011 >This seems to fix the segfault for me. Any other comments/experiences? this patch fixes the issue aswell for me. Thanks David. Greetings, bjoernb.

[PATCH] lib: call g_type_init from notmuch_database_open

2011-12-05 Thread bjoernb
David Bremner david at tethera.net Sun Dec 4 11:35:14 PST 2011 This seems to fix the segfault for me. Any other comments/experiences? this patch fixes the issue aswell for me. Thanks David. Greetings, bjoernb. ___ notmuch mailing list

[PATCH] lib: call g_type_init from notmuch_database_open

2011-12-04 Thread David Bremner
From: David Bremner We want to make sure g_type_init is called before any GObject functionality is used. --- This seems to fix the segfault for me. Any other comments/experiences? lib/database.cc |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git

[PATCH] lib: call g_type_init from notmuch_database_open

2011-12-04 Thread David Bremner
From: David Bremner brem...@debian.org We want to make sure g_type_init is called before any GObject functionality is used. --- This seems to fix the segfault for me. Any other comments/experiences? lib/database.cc |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git