summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-10-21 20:52:29 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-10-21 20:52:29 +0000
commit132c0994e6636c2eeec78c40380c081211fda64f (patch)
tree6c562b6326ecb4cce2d372d273a826c3066bdbb9 /legacy
parentc8d41c70e3f6def446bd2f83c07ea1489ce40497 (diff)
use WIDGET instead of parent for callbacks
SVN revision: 64266
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/src/lib/elm_genlist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/legacy/elementary/src/lib/elm_genlist.c b/legacy/elementary/src/lib/elm_genlist.c
index c23980e79c..d92f8a37e9 100644
--- a/legacy/elementary/src/lib/elm_genlist.c
+++ b/legacy/elementary/src/lib/elm_genlist.c
@@ -820,14 +820,14 @@ call:
820 evas_object_ref(parent); 820 evas_object_ref(parent);
821 it->walking++; 821 it->walking++;
822 it->wd->walking++; 822 it->wd->walking++;
823 if (it->func.func) it->func.func((void *)it->func.data, parent, it); 823 if (it->func.func) it->func.func((void *)it->func.data, WIDGET(it), it);
824 if (!it->delete_me) 824 if (!it->delete_me)
825 evas_object_smart_callback_call(parent, SIG_SELECTED, it); 825 evas_object_smart_callback_call(WIDGET(it), SIG_SELECTED, it);
826 it->walking--; 826 it->walking--;
827 it->wd->walking--; 827 it->wd->walking--;
828 if ((it->wd->clear_me) && (!it->wd->walking)) 828 if ((it->wd->clear_me) && (!it->wd->walking))
829 { 829 {
830 elm_genlist_clear(parent); 830 elm_genlist_clear(WIDGET(it));
831 goto end; 831 goto end;
832 } 832 }
833 else 833 else