seoz pushed a commit to branch master.

commit 410a490424f89209151f22c7aa6481e16aeac180
Author: Daniel Juyung Seo <[email protected]>
Date:   Tue Aug 13 23:09:49 2013 +0900

    elc_popup.c: removed unnecessary code.
    
    Don't need to call evas_object_show for swallowed buttons.
---
 src/lib/elc_popup.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c
index b3dc827..e3b23e1 100644
--- a/src/lib/elc_popup.c
+++ b/src/lib/elc_popup.c
@@ -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);
 

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

Reply via email to