Author: post
Date: 2012-05-04 14:04:30 +0200 (Fri, 04 May 2012)
New Revision: 4219

Modified:
   trunk/src/rs-loupe.c
Log:
If a new loupe filter is the same, don't change anything.

Modified: trunk/src/rs-loupe.c
===================================================================
--- trunk/src/rs-loupe.c        2012-05-04 12:03:45 UTC (rev 4218)
+++ trunk/src/rs-loupe.c        2012-05-04 12:04:30 UTC (rev 4219)
@@ -96,6 +96,9 @@
        g_assert(RS_IS_LOUPE(loupe));
        g_assert(RS_IS_FILTER(filter));
 
+       if (loupe->filter == filter)
+               return;
+
        if (loupe->filter)
                g_object_unref(loupe->filter);
 


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

Reply via email to