Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/conf_applications


Modified Files:
        e_int_config_apps.c 


Log Message:
No Need to store app & sel as they are not used in the code.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/conf_applications/e_int_config_apps.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_int_config_apps.c 4 Dec 2007 16:35:43 -0000       1.7
+++ e_int_config_apps.c 4 Dec 2007 16:46:11 -0000       1.8
@@ -15,7 +15,6 @@
    Evas_Object *o_add, *o_del;
    Evas_Object *o_up, *o_down;
    Ecore_List *apps;
-   char *app, *sel;
 };
 
 /* local protos */
@@ -226,8 +225,6 @@
        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 @@
 
    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 @@
    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;



-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to