eog r4423 - in trunk: . src



Author: lucasr
Date: Mon Mar  3 19:53:26 2008
New Revision: 4423
URL: http://svn.gnome.org/viewvc/eog?rev=4423&view=rev

Log:
2008-03-03  Lucas Rocha  <lucasr gnome org>

	* src/main.c (main): wrap gtk_main() between gdk_threads_enter()
	and gdk_threads_leave() in order to avoid locking usage problems.
	Fixes bug #498989 (Matt Keenan).


Modified:
   trunk/ChangeLog
   trunk/src/main.c

Modified: trunk/src/main.c
==============================================================================
--- trunk/src/main.c	(original)
+++ trunk/src/main.c	Mon Mar  3 19:53:26 2008
@@ -218,8 +218,12 @@
 
 	load_files ();
 
+	gdk_threads_enter ();
+
 	gtk_main ();
 
+	gdk_threads_leave ();
+
 	gnome_accelerators_sync ();
 	
   	if (startup_files)



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