Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
ecompmgr.c edebug.h
Log Message:
Trivial cleanups.
===================================================================
RCS file: /cvs/e/e16/e/src/ecompmgr.c,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -3 -r1.140 -r1.141
--- ecompmgr.c 19 Mar 2007 05:37:57 -0000 1.140
+++ ecompmgr.c 25 Mar 2007 08:34:34 -0000 1.141
@@ -67,17 +67,13 @@
#define ENABLE_DEBUG 1
#if ENABLE_DEBUG
-#define EDBUG_TYPE_COMPMGR 161
-#define EDBUG_TYPE_COMPMGR2 162
-#define EDBUG_TYPE_COMPMGR3 163
-#define EDBUG_TYPE_COMPMGR4 164
#define D1printf(fmt...) if(EDebug(EDBUG_TYPE_COMPMGR))Eprintf(fmt)
#define D2printf(fmt...) if(EDebug(EDBUG_TYPE_COMPMGR2))Eprintf(fmt)
#define D3printf(fmt...) if(EDebug(EDBUG_TYPE_COMPMGR3))Eprintf(fmt)
-#define D4printf(fmt...) if(EDebug(EDBUG_TYPE_COMPMGR4))Eprintf(fmt)
#else
#define D1printf(fmt...)
#define D2printf(fmt...)
+#define D3printf(fmt...)
#endif /* ENABLE_DEBUG */
#define DEBUG_OPACITY 0
@@ -1856,7 +1852,7 @@
if (cw->extents == None)
cw->extents = win_extents(eo);
- D4printf(" - %#lx desk=%d shown=%d fading=%d fadeout=%d\n",
+ D3printf(" - %#lx desk=%d shown=%d fading=%d fadeout=%d\n",
EobjGetXwin(eo), eo->desk->num, eo->shown, cw->fading,
cw->fadeout);
@@ -1898,7 +1894,7 @@
ECompMgrWinSetPicts(eo);
- D4printf(" - %#lx desk=%d shown=%d dam=%d pict=%#lx\n",
+ D3printf(" - %#lx desk=%d shown=%d dam=%d pict=%#lx\n",
EobjGetXwin(eo), eo->desk->num, eo->shown, cw->damaged,
cw->picture);
@@ -1909,7 +1905,7 @@
if (cw->picture == None && !eo->noredir)
continue;
- D4printf
+ D3printf
("ECompMgrDetermineOrder hook in %d - %#lx desk=%d shown=%d\n",
dsk->num, EobjGetXwin(eo), eo->desk->num, eo->shown);
@@ -1924,7 +1920,7 @@
{
case WINDOW_UNREDIR:
case WINDOW_SOLID:
- D4printf("- clip %#lx %#lx %d,%d %dx%d: %s\n", EobjGetXwin(eo),
+ D3printf("- clip %#lx %#lx %d,%d %dx%d: %s\n", EobjGetXwin(eo),
cw->clip, EobjGetX(eo), EobjGetY(eo), EobjGetW(eo),
EobjGetH(eo), EobjGetName(eo));
#if USE_CLIP_RELATIVE_TO_DESK
@@ -1935,7 +1931,7 @@
break;
default:
- D4printf("- noclip %#lx %#lx %d,%d %dx%d: %s\n", EobjGetXwin(eo),
+ D3printf("- noclip %#lx %#lx %d,%d %dx%d: %s\n", EobjGetXwin(eo),
cw->clip, EobjGetX(eo), EobjGetY(eo), EobjGetW(eo),
EobjGetH(eo), EobjGetName(eo));
break;
===================================================================
RCS file: /cvs/e/e16/e/src/edebug.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- edebug.h 13 Jan 2007 19:14:27 -0000 1.2
+++ edebug.h 25 Mar 2007 08:34:34 -0000 1.3
@@ -49,6 +49,10 @@
#define EDBUG_TYPE_SELECTION 147
#define EDBUG_TYPE_FONTS 148
+#define EDBUG_TYPE_COMPMGR 161
+#define EDBUG_TYPE_COMPMGR2 162
+#define EDBUG_TYPE_COMPMGR3 163
+
void EDebugInit(const char *s);
void EDebugSet(unsigned int type, int value);
int EDebug(unsigned int type);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs