[Rawstudio-commit] r4153 - trunk/src

Klaus Post klauspost at gmail.com
Sun Feb 19 14:34:36 CET 2012


Author: post
Date: 2012-02-19 14:34:36 +0100 (Sun, 19 Feb 2012)
New Revision: 4153

Modified:
   trunk/src/gtk-interface.c
Log:
Unlock GDK while waiting for renderer to finish

Modified: trunk/src/gtk-interface.c
===================================================================
--- trunk/src/gtk-interface.c	2012-02-19 13:10:31 UTC (rev 4152)
+++ trunk/src/gtk-interface.c	2012-02-19 13:34:36 UTC (rev 4153)
@@ -244,7 +244,9 @@
 
 	set_photo_info_label(photo);
 
+	gdk_threads_leave();
 	rs_preview_widget_lock_renderer(RS_PREVIEW_WIDGET(rs->preview));
+	gdk_threads_enter();
 	rs_set_photo(rs, photo);
 
 	/* We need check if we should calculate and set auto wb here because the photo needs to be loaded for filterchain to work */




More information about the Rawstudio-commit mailing list