Author: post
Date: 2010-10-17 19:07:01 +0200 (Sun, 17 Oct 2010)
New Revision: 3576
Modified:
trunk/librawstudio/rs-curve.c
Log:
Only update curve, when the widget is "realized".
Modified: trunk/librawstudio/rs-curve.c
===================================================================
--- trunk/librawstudio/rs-curve.c 2010-10-17 16:45:22 UTC (rev 3575)
+++ trunk/librawstudio/rs-curve.c 2010-10-17 17:07:01 UTC (rev 3576)
@@ -823,7 +823,7 @@
widget = GTK_WIDGET(curve);
- if (GTK_WIDGET_VISIBLE(widget))
+ if (GTK_WIDGET_VISIBLE(widget) && GTK_WIDGET_REALIZED(widget))
{
/* Draw the background */
rs_curve_draw_background(widget);
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit