Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_callback.c ewl_widget.h 


Log Message:
* Undo the 255 callback limit until we rework floater

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_callback.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ewl_callback.c      29 Nov 2005 17:00:58 -0000      1.11
+++ ewl_callback.c      7 Dec 2005 06:28:08 -0000       1.12
@@ -182,7 +182,7 @@
        DCHECK_PARAM_PTR_RET("cb", cb, 0);
        DCHECK_TYPE_RET("w", w, "widget", 0);
 
-       if (EWL_CALLBACK_LEN(w, t) == 255) {
+       if (EWL_CALLBACK_LEN(w, t) == 65536) {
                DERROR("Maximum number of callbacks of one type exceeded on a 
widget\n");
                DRETURN_INT(0, DLEVEL_STABLE);
        }
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_widget.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- ewl_widget.h        6 Dec 2005 03:46:54 -0000       1.25
+++ ewl_widget.h        7 Dec 2005 06:28:08 -0000       1.26
@@ -46,9 +46,9 @@
 struct Ewl_Callback_Chain
 {
        void **list;
-       unsigned char mask;
-       unsigned char len;
-       unsigned char index;
+       unsigned short int mask;
+       unsigned short int len;
+       unsigned short int index;
 };
 
 typedef struct Ewl_Color_Set Ewl_Color_Set;




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to