tasn pushed a commit to branch master.


commit 1d7caffed5fc0be6e92db633e37dc182fd30b583
Author: Tom Hacohen <t...@stosb.com>
Date:   Mon Apr 11 18:11:23 2016 +0100

    Elm popup: use the correct parent for calculations.
    It just so happens that these parents are the same at the moment.
    They don't have to be. We should use the correct, popup specific parent for
 src/lib/elementary/elc_popup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/elc_popup.c b/src/lib/elementary/elc_popup.c
index 9f1e029..212ac74 100644
--- a/src/lib/elementary/elc_popup.c
+++ b/src/lib/elementary/elc_popup.c
@@ -472,7 +472,7 @@ _elm_popup_elm_layout_sizing_eval(Eo *obj, Elm_Popup_Data 
         elm_popup_align_get(obj, &horizontal, &vertical);
-        evas_object_geometry_get(elm_widget_parent_get(obj), NULL, NULL, &w, 
+        evas_object_geometry_get(sd->parent, NULL, NULL, &w, &h);
         if (horizontal == ELM_NOTIFY_ALIGN_FILL)
           minw = w;


Reply via email to