From 41748e9df246af09e19c5cd017621340de1f2be2 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Sun, 20 Jul 2014 01:18:57 +0900 Subject: [PATCH] toolbar: changed internal variable name sanely. Do not need to use 'obj2' as an object variable name as we can use 'obj' as usual. --- src/lib/elm_toolbar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c index e84600a..047dce3 100644 --- a/src/lib/elm_toolbar.c +++ b/src/lib/elm_toolbar.c @@ -1008,7 +1008,7 @@ static void _item_select(Elm_Toolbar_Item *it) { Elm_Toolbar_Item *it2; - Evas_Object *obj2; + Evas_Object *obj; Eina_Bool sel; ELM_TOOLBAR_DATA_GET(WIDGET(it), sd); @@ -1083,7 +1083,7 @@ _item_select(Elm_Toolbar_Item *it) } } - obj2 = WIDGET(it); + obj = WIDGET(it); if (it->menu && (!sel)) { evas_object_show(it->o_menu); @@ -1099,7 +1099,7 @@ _item_select(Elm_Toolbar_Item *it) { if (it->func) it->func((void *)(it->base.data), WIDGET(it), it); } - evas_object_smart_callback_call(obj2, SIG_CLICKED, it); + evas_object_smart_callback_call(obj, SIG_CLICKED, it); } static void -- 2.7.4