[gnome-epub-thumbnailer] main: Re-add g_type_init()
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-epub-thumbnailer] main: Re-add g_type_init()
- Date: Sat, 13 Jul 2013 09:20:08 +0000 (UTC)
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]