Diff of /branches/Gxsm-2x3-transition-sig/src/gxsm_main.C [r3532] .. [r3533]  Maximize  Restore

Switch to side-by-side view

--- a/branches/Gxsm-2x3-transition-sig/src/gxsm_main.C
+++ b/branches/Gxsm-2x3-transition-sig/src/gxsm_main.C
@@ -90,6 +90,7 @@
 		XInitThreads();
 	}
  
+	g_thread_init (NULL);
 //	Secure gtk
 	gdk_threads_init();
  
@@ -97,7 +98,6 @@
 	gdk_threads_enter();
 
 	XSM_DEBUG(DBG_L1, "sorry, no glib thread support, needed for scanning.");
-
 
 #ifdef ENABLE_NLS
 	XSM_DEBUG(DBG_L1, "NLS is enabled.");
@@ -201,6 +201,8 @@
 
 	XSM_DEBUG(DBG_L2, "by.");
 
+	gdk_threads_leave ();
+
 	gtk_exit (0);
 	return 0;
 }

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks