[maemo-commits] [maemo-commits] r12852 - in projects/haf/trunk/hildon-fm: . hildon-fm

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Jul 26 17:28:21 EEST 2007
Author: kihamala
Date: 2007-07-26 17:28:20 +0300 (Thu, 26 Jul 2007)
New Revision: 12852

Modified:
   projects/haf/trunk/hildon-fm/ChangeLog
   projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-selection.c
Log:
added another set of missing GDK_THREADS_ENTER/GDK_THREADS_LEAVE calls


Modified: projects/haf/trunk/hildon-fm/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-fm/ChangeLog	2007-07-26 14:17:54 UTC (rev 12851)
+++ projects/haf/trunk/hildon-fm/ChangeLog	2007-07-26 14:28:20 UTC (rev 12852)
@@ -5,6 +5,9 @@
 	callback and it calls Gtk functions. This could be related to the
 	crasher bug NB#63224.
 
+	* hildon-file-selection.c (set_cursor_idle_handler): Add missing
+	GDK_THREADS_ENTER/GDK_THREADS_LEAVE calls.
+
 2007-07-25  Richard Hult  <richard at imendio.com>
 
 	* hildon-fm/hildon-file-system-storage-dialog.c

Modified: projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-selection.c
===================================================================
--- projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-selection.c	2007-07-26 14:17:54 UTC (rev 12851)
+++ projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-selection.c	2007-07-26 14:28:20 UTC (rev 12852)
@@ -4419,12 +4419,14 @@
 {
   struct idle_cursor_data *c = (struct idle_cursor_data *)data;
 
+  GDK_THREADS_ENTER ();
   if (c->stubbornly)
     hildon_file_selection_set_cursor_stubbornly (c->view, c->path);
   else
     gtk_tree_view_set_cursor (c->view, c->path, NULL, FALSE);
 
   gtk_tree_path_free (c->path);
+  GDK_THREADS_LEAVE ();
   g_free (c);
 
   return FALSE;


More information about the maemo-commits mailing list