Author: post
Date: 2010-12-07 19:49:31 +0100 (Tue, 07 Dec 2010)
New Revision: 3676

Modified:
   trunk/librawstudio/rs-curve.c
Log:
Increase threshold for resizing the curve widget to avoid locking when 
unfolding curve widget.

Modified: trunk/librawstudio/rs-curve.c
===================================================================
--- trunk/librawstudio/rs-curve.c       2010-12-07 17:03:46 UTC (rev 3675)
+++ trunk/librawstudio/rs-curve.c       2010-12-07 18:49:31 UTC (rev 3676)
@@ -807,7 +807,7 @@
        gdk_threads_enter();
        if (GTK_WIDGET(curve)->allocation.width != 
GTK_WIDGET(curve)->allocation.height)
        {
-               if (ABS(GTK_WIDGET(curve)->allocation.width - 
GTK_WIDGET(curve)->allocation.height) > 5)
+               if (ABS(GTK_WIDGET(curve)->allocation.width - 
GTK_WIDGET(curve)->allocation.height) > 10)
                {
                        gint new_height = GTK_WIDGET(curve)->allocation.width;
 


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to