From e0910b16b789e59a9f5a0a74173072f735dd6a6a Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Thu, 19 Jun 2008 12:56:07 +0000 Subject: [PATCH] Remove unused variables. SVN revision: 34870 --- src/modules/gadman/e_mod_config.c | 2 -- src/modules/gadman/e_mod_gadman.c | 13 +++++-------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/modules/gadman/e_mod_config.c b/src/modules/gadman/e_mod_config.c index e5d287bb9..aafa3d616 100644 --- a/src/modules/gadman/e_mod_config.c +++ b/src/modules/gadman/e_mod_config.c @@ -133,7 +133,6 @@ _cb_add(void *data, void *data2) { E_Config_Dialog_Data *cfdata; Evas_List *l = NULL; - Evas_List *selected; int i; if (!(cfdata = data)) return; @@ -141,7 +140,6 @@ _cb_add(void *data, void *data2) for (i = 0, l = e_widget_ilist_items_get(cfdata->o_avail); l; l = l->next, i++) { E_Ilist_Item *item = NULL; - const char *name = NULL; E_Gadcon_Client_Class *cc; E_Gadcon_Client *gcc; diff --git a/src/modules/gadman/e_mod_gadman.c b/src/modules/gadman/e_mod_gadman.c index c2f4af472..8ef280b1c 100644 --- a/src/modules/gadman/e_mod_gadman.c +++ b/src/modules/gadman/e_mod_gadman.c @@ -42,7 +42,7 @@ E_Gadcon_Client *current; void gadman_init(E_Module *m) { - Evas_List *managers, *l; + Evas_List *l; /* Create Manager */ Man = calloc(1, sizeof(Manager)); @@ -188,7 +188,6 @@ gadman_gadget_add(E_Gadcon_Client_Class *cc, int ontop) E_Config_Gadcon_Client *cf = NULL; E_Gadcon_Client *gcc; E_Gadcon *gc; - char *id; if (ontop) gc = Man->gc_top; @@ -492,9 +491,7 @@ _save_widget_position(E_Gadcon_Client *gcc) static void _apply_widget_position(E_Gadcon_Client *gcc) { - Evas_List *l; int x, y, w, h; - int fx, fy, fw, fh; x = gcc->cf->geom.pos_x * Man->width; y = gcc->cf->geom.pos_y * Man->height; @@ -839,7 +836,7 @@ on_top(void *data, Evas_Object *o, const char *em, const char *src) } else if (action == DRAG_MOVE) { - int w, h; + int h; evas_pointer_output_xy_get(current->gadcon->evas, &mx, &my); @@ -879,7 +876,7 @@ on_right(void *data, Evas_Object *o, const char *em, const char *src) } else if (action == DRAG_MOVE) { - int w, h; + int w; evas_pointer_output_xy_get(current->gadcon->evas, &mx, &my); @@ -916,7 +913,7 @@ on_down(void *data, Evas_Object *o, const char *em, const char *src) } else if (action == DRAG_MOVE) { - int w, h; + int h; evas_pointer_output_xy_get(current->gadcon->evas, &mx, &my); h = my - oy - 15; @@ -952,7 +949,7 @@ on_left(void *data, Evas_Object *o, const char *em, const char *src) } else if (action == DRAG_MOVE) { - int w, h; + int w; evas_pointer_output_xy_get(current->gadcon->evas, &mx, &my);