Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_image.c 


Log Message:
- emit value changed when the image is changed
- remove unneeded casting

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_image.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -3 -r1.67 -r1.68
--- ewl_image.c 23 Aug 2007 05:26:51 -0000      1.67
+++ ewl_image.c 17 Oct 2007 22:06:03 -0000      1.68
@@ -269,6 +269,8 @@
                ewl_widget_reveal(w);
        }
 
+       ewl_callback_call(w, EWL_CALLBACK_VALUE_CHANGED);
+
        DLEAVE_FUNCTION(DLEVEL_STABLE);
 }
 
@@ -1094,10 +1096,10 @@
 
        l = strlen(i);
 
-       if ((l >= 8 && !(strncasecmp((char *) i + l - 8, ".bits.db", 8)))
-           || (l >= 4 && !(strncasecmp((char *) i + l - 4, ".eet", 4)))
-           || (l >= 4 && !(strncasecmp((char *) i + l - 4, ".edj", 4)))
-           || (l >= 4 && !(strncasecmp((char *) i + l - 4, ".eap", 5))))
+       if ((l >= 8 && !(strncasecmp(i + l - 8, ".bits.db", 8)))
+           || (l >= 4 && !(strncasecmp(i + l - 4, ".eet", 4)))
+           || (l >= 4 && !(strncasecmp(i + l - 4, ".edj", 4)))
+           || (l >= 4 && !(strncasecmp(i + l - 4, ".eap", 4))))
                DRETURN_INT(EWL_IMAGE_TYPE_EDJE, DLEVEL_STABLE);
 
        DRETURN_INT(EWL_IMAGE_TYPE_NORMAL, DLEVEL_STABLE);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to