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 */