Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot
Dir : e_modules/screenshot/src Modified Files: e_mod_main.h e_mod_main.c e_mod_config.c Log Message: Remove unused variable in config dialog. No need for 'Instance' to be public. =================================================================== RCS file: /cvs/e/e_modules/screenshot/src/e_mod_main.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- e_mod_main.h 4 Jan 2008 06:39:46 -0000 1.2 +++ e_mod_main.h 6 Jan 2008 20:35:57 -0000 1.3 @@ -7,7 +7,6 @@ ((MOD_CONFIG_FILE_EPOCH << 16) | MOD_CONFIG_FILE_GENERATION) typedef struct _Config Config; -typedef struct _Instance Instance; struct _Config { @@ -18,13 +17,6 @@ unsigned char use_thumb; const char *location, *filename, *app; E_Config_Dialog *cfd; -}; - -struct _Instance -{ - E_Gadcon_Client *gcc; - Evas_Object *o_base; - E_Menu *menu, *menu_mode; }; EAPI extern E_Module_Api e_modapi; =================================================================== RCS file: /cvs/e/e_modules/screenshot/src/e_mod_main.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- e_mod_main.c 4 Jan 2008 06:39:46 -0000 1.4 +++ e_mod_main.c 6 Jan 2008 20:35:57 -0000 1.5 @@ -47,6 +47,14 @@ static void _cb_do_shot (void); static void _cb_take_shot (E_Object *obj, const char *params); +typedef struct _Instance Instance; +struct _Instance +{ + E_Gadcon_Client *gcc; + Evas_Object *o_base; + E_Menu *menu, *menu_mode; +}; + static Evas_List *instances = NULL; static E_Config_DD *conf_edd = NULL; static E_Action *act = NULL; =================================================================== RCS file: /cvs/e/e_modules/screenshot/src/e_mod_config.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- e_mod_config.c 4 Jan 2008 06:39:46 -0000 1.2 +++ e_mod_config.c 6 Jan 2008 20:35:57 -0000 1.3 @@ -30,7 +30,6 @@ EAPI E_Config_Dialog * e_int_config_screenshot_module(E_Container *con, const char *params __UNUSED__) { - Instance *inst = NULL; E_Config_Dialog *cfd = NULL; E_Config_Dialog_View *v = NULL; char buf[4096]; ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs