Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/gadget_test Modified Files: e_mod_main.c Log Message: Fix warnings. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/gadget_test/e_mod_main.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- e_mod_main.c 7 Jan 2006 10:39:46 -0000 1.4 +++ e_mod_main.c 14 Jan 2006 16:10:57 -0000 1.5 @@ -24,9 +24,9 @@ E_Gadget *gad = NULL; Test *t = E_NEW(Test, 1); - if (!t) return; + if (!t) return NULL; api = E_NEW(E_Gadget_Api, 1); - if (!api) return; + if (!api) return NULL; /* * set up gadget -- only module and name are required, but the gadget would @@ -80,10 +80,7 @@ static void _test_face_init(void *data, E_Gadget_Face *face) { - Test *t = data; - e_gadget_face_theme_set(face, "base/theme/modules/clock", "modules/clock/main"); - } static void ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs