[gnome-epub-thumbnailer] main: Re-add g_type_init()



commit 9678cfc1e8c2529968861ed33a619ea749b43366
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Jul 13 11:06:35 2013 +0200

    main: Re-add g_type_init()
    
    So that the thumbnailer works on older versions of GNOME.

 gnome-epub-thumbnailer.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnome-epub-thumbnailer.c b/gnome-epub-thumbnailer.c
index 73e9723..3b23be8 100644
--- a/gnome-epub-thumbnailer.c
+++ b/gnome-epub-thumbnailer.c
@@ -259,6 +259,8 @@ int main (int argc, char **argv)
        GFile *input;
        const char *output;
 
+       g_type_init ();
+
        /* Options parsing */
        context = g_option_context_new ("Thumbnail EPub books");
        g_option_context_add_main_entries (context, entries, NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]