Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_apps.c
Log Message:
Add a DEBUG define for debug functions.
Remove unused variable
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -3 -r1.144 -r1.145
--- e_apps.c 20 Jul 2006 11:24:28 -0000 1.144
+++ e_apps.c 28 Jul 2006 10:59:27 -0000 1.145
@@ -13,6 +13,8 @@
* - clean up the add app functions. To much similar code.
*/
+#define DEBUG 0
+
/* local subsystem functions */
typedef struct _E_App_Change_Info E_App_Change_Info;
typedef struct _E_App_Callback E_App_Callback;
@@ -58,7 +60,9 @@
static E_App *_e_app_cache_new (E_App_Cache *ac, const char *path,
int scan_subdirs);
static int _e_app_exe_valid_get (const char *exe);
static char *_e_app_localized_val_get (Eet_File *ef, const char *lang,
const char *field, int *size);
+#if DEBUG
static void _e_app_print(const char *path, Ecore_File_Event event);
+#endif
static void _e_app_check_order(const char *file);
static int _e_app_order_contains(E_App *a, const char *file);
@@ -1225,7 +1229,7 @@
char buf[PATH_MAX];
const char *lang;
unsigned char tmp[1];
- int img;
+// int img;
// if ((!a->path) || (!ecore_file_exists(a->path)))
// {
@@ -1715,7 +1719,7 @@
if (!app->scanned)
return;
-#if 0
+#if DEBUG
_e_app_print(path, event);
#endif
@@ -2389,6 +2393,7 @@
return 1;
}
+#if DEBUG
static void
_e_app_print(const char *path, Ecore_File_Event event)
{
@@ -2417,6 +2422,7 @@
break;
}
}
+#endif
static void
_e_app_check_order(const char *file)
-------------------------------------------------------------------------
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