Revert "popup: notify's parent change to elm_win" 72/104672/1
authorWoochan Lee <wc0917.lee@samsung.com>
Wed, 14 Dec 2016 05:08:09 +0000 (14:08 +0900)
committerWoochan Lee <wc0917.lee@samsung.com>
Wed, 14 Dec 2016 05:30:15 +0000 (14:30 +0900)
This reverts commit 85052decf5b44720c3f65502e5eb3f2c56308a3f.

Change-Id: I2b0bace5d38e8cedf4d969e78c70279b0c375eda

src/lib/elc_popup.c

index 2975a7e..2370262 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 */