]> www.fi.muni.cz Git - evince.git/commitdiff
Initialize glib type system before using it. Fixes bug #513934.
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 Feb 2008 11:00:44 +0000 (11:00 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Fri, 8 Feb 2008 11:00:44 +0000 (11:00 +0000)
2008-02-08  Matthias Clasen  <mclasen@redhat.com>
* thumbnailer/evince-thumbnailer.c: (main):
Initialize glib type system before using it. Fixes bug #513934.

svn path=/trunk/; revision=2894

ChangeLog
thumbnailer/evince-thumbnailer.c

index 8834aed9d27250e7945b7c2e5b83b65e8034eeff..bd551cf571475b5085afcc2bca6819520f77c710 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * thumbnailer/evince-thumbnailer.c: (main):
+
+       Initialize glib type system before using it. Fixes bug #513934.
+       
 2008-02-03  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * properties/ev-properties-main.c:
index d4d1a248e91c6982c8f0524912507290ab249268..8960f18065ff9bad665ebaed9a6bcfd8e2c3b1dc 100644 (file)
@@ -158,6 +158,8 @@ main (int argc, char *argv[])
                return -1;
        }
 
+       g_type_init ();
+
        if (!g_thread_supported ())
                g_thread_init (NULL);