Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e.h e_ipc_handlers.h 


Log Message:


actually show errors when they are there... and fix 1 :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- e.h 1 Jul 2005 04:09:28 -0000       1.25
+++ e.h 13 Jul 2005 04:46:33 -0000      1.26
@@ -64,9 +64,9 @@
 #define E_INSIDE(x, y, xx, yy, ww, hh) (((x) < ((xx) + (ww))) && ((y) < ((yy) 
+ (hh))) && ((x) >= (xx)) && ((y) >= (yy)))
 #define E_CONTAINS(x, y, w, h, xx, yy, ww, hh) (((xx) >= (x)) && (((x) + (w)) 
<= ((xx) + (ww))) && ((yy) >= (y)) && (((y) + (h)) <= ((yy) + (hh))))
 #define E_SPANS_COMMON(x1, w1, x2, w2) (!((((x2) + (w2)) <= (x1)) || ((x2) >= 
((x1) + (w1)))))
-#define E_REALLOC(p, s, n) p = realloc(p, sizeof(s) * n)
-#define E_NEW(s, n) calloc(n, sizeof(s))
-#define E_NEW_BIG(s, n) malloc(n * sizeof(s))
+#define E_REALLOC(p, s, n) p = (s *)realloc(p, sizeof(s) * n)
+#define E_NEW(s, n) (s *)calloc(n, sizeof(s))
+#define E_NEW_BIG(s, n) (s *)malloc(n * sizeof(s))
 #define E_FREE(p) { if (p) {free(p); p = NULL;} }
 
 #define E_REMOTE_OPTIONS 1
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_ipc_handlers.h,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -3 -r1.55 -r1.56
--- e_ipc_handlers.h    12 Jul 2005 15:22:43 -0000      1.55
+++ e_ipc_handlers.h    13 Jul 2005 04:46:33 -0000      1.56
@@ -2132,7 +2132,7 @@
    eb = e_config_binding_mouse_match(&bind);
    if (!eb)
      {
-        eb = E_NEW(E_Config_Binding_Key, 1);
+        eb = E_NEW(E_Config_Binding_Mouse, 1);
         e_config->mouse_bindings = evas_list_append(e_config->mouse_bindings, 
eb);
         eb->context = bind.context;
         eb->button = bind.button;




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to