Enlightenment CVS committal
Author : pfritz
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_check.c
Log Message:
only update if there was actually a change
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_check.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ewl_check.c 12 Nov 2007 22:42:22 -0000 1.17
+++ ewl_check.c 14 Mar 2008 19:58:55 -0000 1.18
@@ -79,6 +79,9 @@
DCHECK_PARAM_PTR(cb);
DCHECK_TYPE(cb, EWL_CHECK_TYPE);
+ if (cb->checked == !!c)
+ DRETURN(DLEVEL_STABLE);
+
cb->checked = !!c;
ewl_check_cb_update_check(EWL_WIDGET(cb), NULL, NULL);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs