From: Matthias Clasen Date: Fri, 8 Feb 2008 11:00:44 +0000 (+0000) Subject: Initialize glib type system before using it. Fixes bug #513934. X-Git-Tag: EVINCE_2_21_91~9 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=36c0e159a0421af3b2dfe0e700a75b899a475c2e;p=evince.git Initialize glib type system before using it. Fixes bug #513934. 2008-02-08 Matthias Clasen * thumbnailer/evince-thumbnailer.c: (main): Initialize glib type system before using it. Fixes bug #513934. svn path=/trunk/; revision=2894 --- diff --git a/ChangeLog b/ChangeLog index 8834aed9..bd551cf5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-08 Matthias Clasen + + * thumbnailer/evince-thumbnailer.c: (main): + + Initialize glib type system before using it. Fixes bug #513934. + 2008-02-03 Carlos Garcia Campos * properties/ev-properties-main.c: diff --git a/thumbnailer/evince-thumbnailer.c b/thumbnailer/evince-thumbnailer.c index d4d1a248..8960f180 100644 --- a/thumbnailer/evince-thumbnailer.c +++ b/thumbnailer/evince-thumbnailer.c @@ -158,6 +158,8 @@ main (int argc, char *argv[]) return -1; } + g_type_init (); + if (!g_thread_supported ()) g_thread_init (NULL);