gucharmap r1963 - trunk/gucharmap



Author: chpe
Date: Wed Dec 24 22:40:41 2008
New Revision: 1963
URL: http://svn.gnome.org/viewvc/gucharmap?rev=1963&view=rev

Log:
Call g_thread_init() if using GConf.

Modified:
   trunk/gucharmap/main.c

Modified: trunk/gucharmap/main.c
==============================================================================
--- trunk/gucharmap/main.c	(original)
+++ trunk/gucharmap/main.c	Wed Dec 24 22:40:41 2008
@@ -62,6 +62,11 @@
   bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
   textdomain (GETTEXT_PACKAGE);
 
+#ifdef HAVE_GCONF
+  /* GConf uses ORBit2 which need GThread. See bug #565516 */
+  g_thread_init (NULL);
+#endif
+
   if (!gtk_init_with_args (&argc, &argv, "", goptions, GETTEXT_PACKAGE, &error))
     {
       g_printerr ("%s\n", error->message);



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