cedric pushed a commit to branch master.

http://git.enlightenment.org/tools/expedite.git/commit/?id=776268d077f8e7174b61f015b98d6c71ea43db0b

commit 776268d077f8e7174b61f015b98d6c71ea43db0b
Author: Savio Sena <[email protected]>
Date:   Sat Sep 27 11:23:31 2014 +0200

    expedite: fix to follow the new eo_add semantics.
    
    Summary:
    Please see EFL's commit a7560dbc61953c3652780f232e38adbd2d711972 for
    more information.
    
    @fix
    
    Reviewers: cedric, tasn
    
    Subscribers: felipealmeida
    
    Differential Revision: https://phab.enlightenment.org/D1494
    
    Signed-off-by: Cedric BAIL <[email protected]>
---
 src/bin/ui.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/bin/ui.c b/src/bin/ui.c
index bffc831..9f2402b 100644
--- a/src/bin/ui.c
+++ b/src/bin/ui.c
@@ -361,7 +361,6 @@ _ui_menu_item_full_add(Eina_Bool test,
 
    mi = malloc(sizeof(Menu_Item));
    mi->o_icon = eo_add(EVAS_IMAGE_CLASS, evas);
-   eo_unref(mi->o_icon);
    eo_do(mi->o_icon, efl_file_set(build_path(icon), NULL),
          evas_obj_size_set(32, 32),
          evas_obj_image_fill_set(0, 0, 32, 32));
@@ -391,7 +390,6 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
    win_h = ui_h;
 
    o = eo_add(EVAS_RECTANGLE_CLASS, evas);
-   eo_unref(o);
    eo_do(o, evas_obj_position_set(0, 0),
          evas_obj_size_set(win_w, win_h),
          evas_obj_color_set(0, 0, 0, 0),
@@ -402,7 +400,6 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
    o_bg = o;
 
    o = eo_add(EVAS_RECTANGLE_CLASS, evas);
-   eo_unref(o);
    eo_do(o, evas_obj_position_set(0, 0),
          evas_obj_size_set(win_w, win_h),
          evas_obj_color_set(255, 255, 255, 255),
@@ -411,7 +408,6 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
    o_wallpaper = o;
 
    o = eo_add(EVAS_TEXT_CLASS, evas);
-   eo_unref(o);
    eo_do(o, efl_text_properties_font_set("Vera-Bold", 10),
          efl_text_set("EXPEDITE"),
          evas_obj_layer_set(100),
@@ -425,7 +421,6 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
    o_title = o;
 
    o = eo_add(EVAS_TEXT_CLASS, evas);
-   eo_unref(o);
    eo_do(o, efl_text_properties_font_set("Vera", 9),
          efl_text_set("LEFT/RIGHT - select, ENTER - select, ESCAPE - exit."),
          evas_obj_layer_set(100),
@@ -439,7 +434,6 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
    o_byline = o;
 
    o = eo_add(EVAS_IMAGE_CLASS, evas);
-   eo_unref(o);
    eo_do(o, evas_obj_position_set((win_w - 120) / 2, ((win_h - 160) / 2)),
          efl_file_set(build_path("e-logo.png"), NULL),
          evas_obj_image_fill_set(0, 0, 120, 160),
@@ -450,7 +444,6 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
    o_menu_logo = o;
 
    o = eo_add(EVAS_IMAGE_CLASS, evas);
-   eo_unref(o);
    eo_do(o, evas_obj_position_set(win_w - 128, - 128),
          evas_obj_image_fill_set(0, 0, 256, 256),
          evas_obj_size_set(256, 256),
@@ -458,7 +451,6 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
    o_menu_icon = o;
 
    o = eo_add(EVAS_IMAGE_CLASS, evas);
-   eo_unref(o);
    eo_do(o, evas_obj_position_set(0, 0),
          efl_file_set(build_path("icon_sel.png"), NULL),
          evas_obj_size_set(48, 48),
@@ -466,7 +458,6 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
    o_menu_icon_sel = o;
 
    o = eo_add(EVAS_IMAGE_CLASS, evas);
-   eo_unref(o);
    eo_do(o, evas_obj_position_set(0, 0),
          efl_file_set(build_path("text_sel.png"), NULL),
          evas_obj_size_set(96, 32),
@@ -475,7 +466,6 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
    o_menu_text_sel = o;
 
    o = eo_add(EVAS_TEXT_CLASS, evas);
-   eo_unref(o);
    eo_do(o, efl_text_properties_font_set("Vera", 10),
          efl_text_set(""),
          evas_obj_color_set(0, 0, 0, 100),

-- 


Reply via email to