Enlightenment CVS committal
Author : handyande
Project : e17
Module : apps/e_modules
Dir : e17/apps/e_modules/src/modules/notes
Modified Files:
e_mod_main.c
Log Message:
tidy and remove all char bufs we can
===================================================================
RCS file:
/cvsroot/enlightenment/e17/apps/e_modules/src/modules/notes/e_mod_main.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_mod_main.c 30 Mar 2005 11:11:41 -0000 1.3
+++ e_mod_main.c 30 Mar 2005 11:25:58 -0000 1.4
@@ -1,4 +1,5 @@
#include "e.h"
+#include "config.h"
#include "e_mod_main.h"
#include <time.h>
@@ -88,11 +89,8 @@
int
info (E_Module *m)
{
- char buf[4096];
-
m->label = strdup("Notes");
- snprintf(buf, sizeof(buf), "%s/module_icon.png", e_module_dir_get(m));
- m->icon_file = strdup(buf);
+ m->icon_file = PACKAGE_LIB_DIR "/e_modules/notes/module_icon.png";
return 1;
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs