elc_popup.c: removed unnecessary code.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Tue, 13 Aug 2013 14:09:49 +0000 (23:09 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Tue, 13 Aug 2013 14:09:50 +0000 (23:09 +0900)
Don't need to call evas_object_show for swallowed buttons.

src/lib/elc_popup.c

index b3dc827fecc494d2fee5a225d0227c61d51c36d6..e3b23e174c9263fe288e4ff47b32835d738f9cf2 100644 (file)
@@ -1102,7 +1102,6 @@ _action_button_set(Evas_Object *obj,
                    Evas_Object *btn,
                    unsigned int idx)
 {
-   int i = 0;
    Action_Area_Data *adata;
    char buf[128];
 
@@ -1153,7 +1152,6 @@ _action_button_set(Evas_Object *obj,
    snprintf(buf, sizeof(buf), "actionbtn%u", idx + 1);
    elm_object_part_content_set
      (sd->action_area, buf, sd->buttons[idx]->btn);
-   evas_object_show(sd->buttons[i]->btn);
 
    if (sd->button_count == 1) _visuals_set(obj);