[gnome-color-manager/colord: 60/72] Fix gcm-dump-profile by calling g_type_init()



commit 543cd99f1ea80729adf036a5af9f765468de37dd
Author: Richard Hughes <richard hughsie com>
Date:   Mon Feb 14 09:58:01 2011 +0000

    Fix gcm-dump-profile by calling g_type_init()

 tools/gcm-dump-profile.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tools/gcm-dump-profile.c b/tools/gcm-dump-profile.c
index 3817d15..873e245 100644
--- a/tools/gcm-dump-profile.c
+++ b/tools/gcm-dump-profile.c
@@ -123,6 +123,7 @@ main (int argc, char **argv)
 	};
 
 	setlocale (LC_ALL, "");
+	g_type_init ();
 
 	bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
 	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");



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