Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        eobj.h pager.c 


Log Message:
Fix build without composite.

===================================================================
RCS file: /cvs/e/e16/e/src/eobj.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- eobj.h      8 Sep 2006 23:13:57 -0000       1.33
+++ eobj.h      9 Sep 2006 22:12:15 -0000       1.34
@@ -108,8 +108,10 @@
 #define EoGetOpacity(eo)        (EoObj(eo)->opacity)
 #define EoGetShadow(eo)         (EoObj(eo)->shadow)
 #define EoGetNoRedirect(eo)     (EoObj(eo)->noredir)
+#define EoGetSerial(eo)         (EoObj(eo)->serial)
 #else
 #define EoSetOpacity(eo, _o)
+#define EoGetSerial(eo)         0
 #endif
 
 #define EoInit(eo, type, win, x, y, w, h, su, name) \
===================================================================
RCS file: /cvs/e/e16/e/src/pager.c,v
retrieving revision 1.226
retrieving revision 1.227
diff -u -3 -r1.226 -r1.227
--- pager.c     2 Sep 2006 08:07:12 -0000       1.226
+++ pager.c     9 Sep 2006 22:12:15 -0000       1.227
@@ -286,7 +286,7 @@
    if (h < 1)
       h = 1;
 
-   serdif = EoObj(ewin)->serial - p->serial;
+   serdif = EoGetSerial(ewin) - p->serial;
 
    update = 0;
    if (!ewin->mini_pmm.pmap)
@@ -305,7 +305,7 @@
 
    Dprintf("PagerEwinUpdateMini %#lx/%#lx wxh=%dx%d ser=%#x/%#x dif=%d: %s\n",
           EwinGetClientXwin(ewin), EoGetXwin(ewin), w, h,
-          EoObj(ewin)->serial, p->serial, serdif, EwinGetName(ewin));
+          EoGetSerial(ewin), p->serial, serdif, EwinGetName(ewin));
 
    p->do_update = 1;
 



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to