Revert "popup: notify's parent change to elm_win"
authorWoochan Lee <wc0917.lee@samsung.com>
Wed, 14 Dec 2016 05:08:09 +0000 (14:08 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 2 Jan 2017 05:37:08 +0000 (14:37 +0900)
This reverts commit 85052decf5b44720c3f65502e5eb3f2c56308a3f.

Change-Id: I2b0bace5d38e8cedf4d969e78c70279b0c375eda

src/lib/elc_popup.c

index 2975a7e3f1e7bc234a7fa5fcf113677596a89cac..2370262ab6484a094b961603914b665ee85ec8ab 100644 (file)
@@ -1929,18 +1929,7 @@ _elm_popup_evas_object_smart_add(Eo *obj, Elm_Popup_Data *priv)
 
    snprintf(style, sizeof(style), "popup/%s", elm_widget_style_get(obj));
 
-   /* TIZEN_ONLY(20161212): notify's parent change to elm_win
    priv->notify = elm_notify_add(obj);
-    */
-   Evas_Object *win = elm_widget_top_get(obj);
-   if (win && !strcmp(evas_object_type_get(win), "elm_win"))
-     {
-        priv->notify = elm_notify_add(win);
-        evas_object_smart_member_add(priv->notify, obj);
-     }
-   else
-     priv->notify = elm_notify_add(obj);
-   /* END */
    /* TIZEN_ONLY(20161031): apply color_class parent-child relationship to all widgets */
    _elm_widget_color_class_parent_set(priv->notify, obj);
    /* END */