Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot
Dir : e_modules/screenshot Modified Files: e_mod_main.c Log Message: Fix EAPI warnings.Remove unused variables.General cleanups =================================================================== RCS file: /cvsroot/enlightenment/e_modules/screenshot/e_mod_main.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- e_mod_main.c 7 Jan 2006 02:13:07 -0000 1.10 +++ e_mod_main.c 7 Jan 2006 23:09:12 -0000 1.11 @@ -389,6 +389,10 @@ evas_object_raise(ef->screen_object); evas_object_raise(ef->event_object); break; + case E_GADMAN_CHANGE_EDGE: + break; + case E_GADMAN_CHANGE_ZONE: + break; } } @@ -543,7 +547,6 @@ loctime = localtime(&t); strftime(buff, sizeof(buff), "%Y-%m-%d-%H%M%S", loctime); snprintf(buff, sizeof(buff), "%s/%s.png", strdup(conf->location), strdup(buff)); - return strdup(buff); } else { @@ -572,16 +575,22 @@ /* Add To Filename */ snprintf(buff, sizeof(buff), strdup(conf->filename), c); snprintf(buff, sizeof(buff), "%s/%s.png", strdup(conf->location), strdup(buff)); - return strdup(buff); } } else { snprintf(buff, sizeof(buff), strdup(conf->filename)); snprintf(buff, sizeof(buff), "%s/%s.png", strdup(conf->location), strdup(buff)); - return strdup(buff); } } + if (buff) + { + return strdup(buff); + } + else + { + return NULL; + } } static int @@ -663,7 +672,6 @@ _screen_menu_cb_configure(void *data, E_Menu *m, E_Menu_Item *mi) { Screen_Face *sf; - E_Config_Dialog *cfg; sf = data; if (!sf) return; ------------------------------------------------------- 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