diff options
author | Daniel Juyung Seo <seojuyung2@gmail.com> | 2014-07-20 01:18:57 +0900 |
---|---|---|
committer | Daniel Juyung Seo <seojuyung2@gmail.com> | 2014-07-20 01:20:10 +0900 |
commit | 41748e9df246af09e19c5cd017621340de1f2be2 (patch) | |
tree | 0acc94c64dfa8d13fce585b82465657f05c5fd18 /src/lib | |
parent | 6bac8796047dee5f5bd229934b807acc1cce967c (diff) |
toolbar: changed internal variable name sanely.
Do not need to use 'obj2' as an object variable name as we can use 'obj'
as usual.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/elm_toolbar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c index e84600ad4..047dce33a 100644 --- a/src/lib/elm_toolbar.c +++ b/src/lib/elm_toolbar.c | |||
@@ -1008,7 +1008,7 @@ static void | |||
1008 | _item_select(Elm_Toolbar_Item *it) | 1008 | _item_select(Elm_Toolbar_Item *it) |
1009 | { | 1009 | { |
1010 | Elm_Toolbar_Item *it2; | 1010 | Elm_Toolbar_Item *it2; |
1011 | Evas_Object *obj2; | 1011 | Evas_Object *obj; |
1012 | Eina_Bool sel; | 1012 | Eina_Bool sel; |
1013 | 1013 | ||
1014 | ELM_TOOLBAR_DATA_GET(WIDGET(it), sd); | 1014 | ELM_TOOLBAR_DATA_GET(WIDGET(it), sd); |
@@ -1083,7 +1083,7 @@ _item_select(Elm_Toolbar_Item *it) | |||
1083 | } | 1083 | } |
1084 | } | 1084 | } |
1085 | 1085 | ||
1086 | obj2 = WIDGET(it); | 1086 | obj = WIDGET(it); |
1087 | if (it->menu && (!sel)) | 1087 | if (it->menu && (!sel)) |
1088 | { | 1088 | { |
1089 | evas_object_show(it->o_menu); | 1089 | evas_object_show(it->o_menu); |
@@ -1099,7 +1099,7 @@ _item_select(Elm_Toolbar_Item *it) | |||
1099 | { | 1099 | { |
1100 | if (it->func) it->func((void *)(it->base.data), WIDGET(it), it); | 1100 | if (it->func) it->func((void *)(it->base.data), WIDGET(it), it); |
1101 | } | 1101 | } |
1102 | evas_object_smart_callback_call(obj2, SIG_CLICKED, it); | 1102 | evas_object_smart_callback_call(obj, SIG_CLICKED, it); |
1103 | } | 1103 | } |
1104 | 1104 | ||
1105 | static void | 1105 | static void |