From: Enlightenment C. <no...@cv...> - 2007-10-04 03:03:05
|
Enlightenment CVS committal Author : iamsthitha Project : e_modules Module : taskbar Dir : e_modules/taskbar Modified Files: e_mod_main.c Log Message: Fix Segfault =================================================================== RCS file: /cvs/e/e_modules/taskbar/e_mod_main.c,v retrieving revision 1.31 retrieving revision 1.32 diff -u -3 -r1.31 -r1.32 --- e_mod_main.c 16 Sep 2007 03:31:41 -0000 1.31 +++ e_mod_main.c 4 Oct 2007 03:02:58 -0000 1.32 @@ -748,18 +748,19 @@ _taskbar_config_updated(Config_Item *ci) { Evas_List *l; + Evas_List *m; if (!taskbar_config) return; for (l = taskbar_config->instances; l; l = l->next) { Instance *inst; inst = l->data; if (inst->ci != ci) continue; - for (l = inst->taskbar->icons; l; l = l->next) + for (m = inst->taskbar->icons; m; m = m->next) { if (!inst->ci->show_label) - edje_object_signal_emit(l->data, "label_hidden", ""); + edje_object_signal_emit(m->data, "label_hidden", ""); else - edje_object_signal_emit(l->data, "label_visible", ""); + edje_object_signal_emit(m->data, "label_visible", ""); } |