Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_int_config_display.c e_int_config_exebuf.c e_int_config_focus.c e_int_config_fonts.c Log Message: Use e_free for things created by e_new. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_display.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -3 -r1.30 -r1.31 --- e_int_config_display.c 14 Dec 2006 15:37:35 -0000 1.30 +++ e_int_config_display.c 15 Jan 2007 17:19:44 -0000 1.31 @@ -308,8 +308,7 @@ E_FREE(r); } cfdata->resolutions = evas_list_free(cfdata->resolutions); - - free(cfdata); + E_FREE(cfdata); } static int @@ -453,7 +452,6 @@ cfdata->resolutions = evas_list_sort(cfdata->resolutions, evas_list_count(cfdata->resolutions), _sort_resolutions); - evas_event_freeze(evas_object_evas_get(ol)); edje_freeze(); e_widget_ilist_freeze(ol); @@ -486,8 +484,6 @@ e_widget_ilist_thaw(ol); edje_thaw(); evas_event_thaw(evas_object_evas_get(ol)); - -// e_widget_ilist_go(rl); if (cfdata->can_rotate) { =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_exebuf.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- e_int_config_exebuf.c 10 Dec 2006 12:57:05 -0000 1.11 +++ e_int_config_exebuf.c 15 Jan 2007 17:19:44 -0000 1.12 @@ -86,7 +86,7 @@ _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) { E_FREE(cfdata->term_cmd); - free(cfdata); + E_FREE(cfdata); } static int @@ -147,11 +147,8 @@ evas_stringshare_del(e_config->exebuf_term_cmd); e_config->exebuf_term_cmd = NULL; if (cfdata->term_cmd) - { - e_config->exebuf_term_cmd = evas_stringshare_add(cfdata->term_cmd); - } + e_config->exebuf_term_cmd = evas_stringshare_add(cfdata->term_cmd); e_config_save_queue(); - return 1; } =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_focus.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -3 -r1.15 -r1.16 --- e_int_config_focus.c 8 Oct 2006 08:04:17 -0000 1.15 +++ e_int_config_focus.c 15 Jan 2007 17:19:44 -0000 1.16 @@ -85,7 +85,7 @@ _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) { /* Free the cfdata */ - free(cfdata); + E_FREE(cfdata); } /**--APPLY--**/ =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_fonts.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -3 -r1.34 -r1.35 --- e_int_config_fonts.c 12 Jan 2007 13:26:40 -0000 1.34 +++ e_int_config_fonts.c 15 Jan 2007 17:19:44 -0000 1.35 @@ -3,9 +3,6 @@ */ #include "e.h" -#define ILIST_ICON_WITH_DEFINED_FONT "enlightenment/e" -#define ILIST_ICON_WITHOUT_DEFINED_FONT "" - typedef struct _E_Text_Class_Pair E_Text_Class_Pair; typedef struct _CFText_Class CFText_Class; @@ -238,7 +235,7 @@ } E_FREE(cfdata->cur_font); - free(cfdata); + E_FREE(cfdata); } static int @@ -536,7 +533,7 @@ if (tc->enabled) { ic = edje_object_add(evas); - e_util_edje_icon_set(ic, ILIST_ICON_WITH_DEFINED_FONT); + e_util_edje_icon_set(ic, "enlightenment/e"); } else ic = NULL; @@ -642,7 +639,7 @@ if (cfdata->cur_enabled) { icon = edje_object_add(cfdata->evas); - e_util_edje_icon_set(icon, ILIST_ICON_WITH_DEFINED_FONT); + e_util_edje_icon_set(icon, "enlightenment/e"); } e_widget_ilist_nth_icon_set(cfdata->gui.class_list, n, icon); } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs