[maemo-commits] [maemo-commits] r12515 - in projects/haf/trunk/hildon-desktop: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Jun 27 17:40:56 EEST 2007
Author: jobi
Date: 2007-06-27 17:40:41 +0300 (Wed, 27 Jun 2007)
New Revision: 12515

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/src/main.c
Log:

2007-06-27  Johan Bilien  <johan.bilien at nokia.com>

	* src/main.c:
	- removed thread protection for GDK. Only the main thread
	shall access GDK / GTK



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-06-27 14:26:37 UTC (rev 12514)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-06-27 14:40:41 UTC (rev 12515)
@@ -1,3 +1,9 @@
+2007-06-27  Johan Bilien  <johan.bilien at nokia.com>
+
+	* src/main.c:
+	- removed thread protection for GDK. Only the main thread
+	shall access GDK / GTK
+
 2007-06-27  Moises Martinez  <moises.martinez at nokia.com>
 
 	* data/applications-menu.desktop.in:

Modified: projects/haf/trunk/hildon-desktop/src/main.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/main.c	2007-06-27 14:26:37 UTC (rev 12514)
+++ projects/haf/trunk/hildon-desktop/src/main.c	2007-06-27 14:40:41 UTC (rev 12515)
@@ -43,9 +43,6 @@
   gchar *gtkrc = NULL;
 
   g_thread_init (NULL);
-  gdk_threads_init ();
-  gdk_threads_enter ();
-
   setlocale (LC_ALL, "");
 
   bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
@@ -85,7 +82,6 @@
   hd_desktop_run (HD_DESKTOP (desktop));
 
   gtk_main ();
-  gdk_threads_leave ();
 
   return 0;
 }


More information about the maemo-commits mailing list