Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot
Dir : e_modules/screenshot/src Modified Files: e_mod_config.c Log Message: Do proper return if view fails to create. =================================================================== RCS file: /cvs/e/e_modules/screenshot/src/e_mod_config.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- e_mod_config.c 6 Jan 2008 20:35:57 -0000 1.3 +++ e_mod_config.c 9 Jan 2008 00:59:51 -0000 1.4 @@ -37,7 +37,7 @@ if (e_config_dialog_find("Screenshot", "_screenshot_cfg_dlg")) return; v = E_NEW(E_Config_Dialog_View, 1); - if (!v) return; + if (!v) return NULL; v->create_cfdata = _create_data; v->free_cfdata = _free_data; @@ -50,6 +50,7 @@ cfd = e_config_dialog_new(con, "Screenshot Configuration", "Screenshot", "_screenshot_cfg_dlg", buf, 0, v, NULL); ss_cfg->cfd = cfd; + return cfd; } /* private functions */ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs