[maemo-commits] [maemo-commits] r12647 - in projects/haf/branches/hildon-control-panel/refactoring: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Jul 4 15:41:23 EEST 2007
Author: lucasr
Date: 2007-07-04 15:41:10 +0300 (Wed, 04 Jul 2007)
New Revision: 12647

Modified:
   projects/haf/branches/hildon-control-panel/refactoring/ChangeLog
   projects/haf/branches/hildon-control-panel/refactoring/src/hcp-main.c
Log:
2007-07-04  Lucas Rocha  <lucas.rocha at nokia.com>

	* src/hcp-main.c: call g_thread_init if the thread system wasn't
	initiated before.


Modified: projects/haf/branches/hildon-control-panel/refactoring/ChangeLog
===================================================================
--- projects/haf/branches/hildon-control-panel/refactoring/ChangeLog	2007-07-04 12:25:16 UTC (rev 12646)
+++ projects/haf/branches/hildon-control-panel/refactoring/ChangeLog	2007-07-04 12:41:10 UTC (rev 12647)
@@ -1,3 +1,8 @@
+2007-07-04  Lucas Rocha  <lucas.rocha at nokia.com>
+
+	* src/hcp-main.c: call g_thread_init if the thread system wasn't
+	initiated before.
+
 2007-06-29  Lucas Rocha  <lucas.rocha at nokia.com>
 
 	* src/hcp-config-keys.h, src/hcp-window.c

Modified: projects/haf/branches/hildon-control-panel/refactoring/src/hcp-main.c
===================================================================
--- projects/haf/branches/hildon-control-panel/refactoring/src/hcp-main.c	2007-07-04 12:25:16 UTC (rev 12646)
+++ projects/haf/branches/hildon-control-panel/refactoring/src/hcp-main.c	2007-07-04 12:41:10 UTC (rev 12647)
@@ -55,6 +55,8 @@
 
   gnome_vfs_init ();
 
+  if (!g_thread_supported ()) g_thread_init (NULL);
+  
   program = hcp_program_get_instance ();
 
   hcp_program_run (program);


More information about the maemo-commits mailing list