Remove unused variable.

Add return values.


SVN revision: 32854
This commit is contained in:
Christopher Michael 2007-11-24 10:16:13 +00:00
parent 5528215b82
commit 8f3a4020fa
1 changed files with 2 additions and 3 deletions

View File

@ -507,15 +507,14 @@ _e_configure_fill_cat_list(void *data)
static int
_e_configure_module_update_cb(void *data, int type, void *event)
{
E_Event_Module_Update *ev;
E_Configure *eco;
int sel = 0;
if (type != E_EVENT_MODULE_UPDATE) return 1;
eco = data;
if (!eco) return;
ev = event;
if (!eco) return 1;
sel = e_widget_ilist_selected_get(eco->cat_list);
_e_configure_fill_cat_list(eco);
e_widget_ilist_selected_set(eco->cat_list, sel);
return 1;
}