summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2007-12-04 16:46:11 +0000
committerChristopher Michael <cpmichael1@comcast.net>2007-12-04 16:46:11 +0000
commitbc3dd78cc044360ef405895b1a83af8deee72069 (patch)
treee20fe991979abada1c48da3eb75d2871cc8f863b
parenta1a43917d7295a77b5899508f2c5f0b4620c9f2a (diff)
downloadenlightenment-bc3dd78cc044360ef405895b1a83af8deee72069.tar.gz
No Need to store app & sel as they are not used in the code.
SVN revision: 32979
-rw-r--r--src/modules/conf_applications/e_int_config_apps.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/modules/conf_applications/e_int_config_apps.c b/src/modules/conf_applications/e_int_config_apps.c
index 9b66b98646..552e121e55 100644
--- a/src/modules/conf_applications/e_int_config_apps.c
+++ b/src/modules/conf_applications/e_int_config_apps.c
@@ -15,7 +15,6 @@ struct _E_Config_Dialog_Data
Evas_Object *o_add, *o_del;
Evas_Object *o_up, *o_down;
Ecore_List *apps;
- char *app, *sel;
};
/* local protos */
@@ -226,8 +225,6 @@ _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
if (data->filename) evas_stringshare_del(data->filename);
E_FREE(data);
}
- if (cfdata->app) free(cfdata->app);
- if (cfdata->sel) free(cfdata->sel);
if (cfdata->apps) ecore_list_destroy(cfdata->apps);
E_FREE(cfdata);
}
@@ -239,7 +236,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
o = e_widget_list_add(evas, 0, 1);
ot = e_widget_frametable_add(evas, _("All Applications"), 0);
- ow = e_widget_ilist_add(evas, 24, 24, &(cfdata->app));
+ ow = e_widget_ilist_add(evas, 24, 24, NULL);
e_widget_ilist_multi_select_set(ow, 1);
e_widget_on_change_hook_set(ow, _all_list_cb_change, cfdata);
cfdata->o_all = ow;
@@ -253,7 +250,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
e_widget_list_object_append(o, ot, 1, 1, 0.5);
ot = e_widget_frametable_add(evas, _("Selected Applications"), 0);
- ow = e_widget_ilist_add(evas, 24, 24, &(cfdata->sel));
+ ow = e_widget_ilist_add(evas, 24, 24, NULL);
e_widget_ilist_multi_select_set(ow, 1);
e_widget_on_change_hook_set(ow, _sel_list_cb_change, cfdata);
cfdata->o_sel = ow;