discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=b842855391e815262639eb616d7ac3b56342cee7

commit b842855391e815262639eb616d7ac3b56342cee7
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Apr 20 15:17:05 2015 -0400

    fix clock popup widget parenting
---
 src/modules/clock/e_mod_main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/modules/clock/e_mod_main.c b/src/modules/clock/e_mod_main.c
index 6f85720..9e982ec 100644
--- a/src/modules/clock/e_mod_main.c
+++ b/src/modules/clock/e_mod_main.c
@@ -316,9 +316,9 @@ _clock_popup_new(Instance *inst)
    inst->popup = e_gadcon_popup_new(inst->gcc, 0);
    evas = e_comp->evas;
 
-   inst->o_table = elm_table_add(inst->popup->comp_object);
+   inst->o_table = elm_table_add(e_comp->elm);
 
-   oi = elm_layout_add(inst->popup->comp_object);
+   oi = elm_layout_add(inst->o_table);
    inst->o_popclock = oi;
    evas_object_size_hint_weight_set(oi, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    evas_object_size_hint_align_set(oi, EVAS_HINT_FILL, EVAS_HINT_FILL);
@@ -358,7 +358,7 @@ _clock_popup_new(Instance *inst)
    elm_table_pack(inst->o_table, o, 0, 2, 1, 1);
    evas_object_show(o);
 
-   oi = elm_layout_add(inst->popup->comp_object);
+   oi = elm_layout_add(inst->o_table);
    inst->o_cal = oi;
    e_theme_edje_object_set(oi, "base/theme/modules/clock",
                            "e/modules/clock/calendar");

-- 


Reply via email to