From: JinYong Park Date: Fri, 23 Dec 2016 06:53:48 +0000 (+0900) Subject: popup: use widget style set internal function to notify X-Git-Tag: submit/tizen/20170102.091821~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12cebff7d4c25a54fbda90fb9308527dab3c7915;p=platform%2Fupstream%2Felementary.git popup: use widget style set internal function to notify Change-Id: I48a1f800a751c6386134916d4ec911659f3ffbc0 Signed-off-by: Jinyong Park --- diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c index 13bd2930d..bc510ca97 100644 --- a/src/lib/elc_popup.c +++ b/src/lib/elc_popup.c @@ -505,14 +505,14 @@ _elm_popup_elm_widget_theme_apply(Eo *obj, Elm_Popup_Data *sd) const char *obj_style = elm_widget_style_get(obj); if (obj_style && !strcmp(obj_style, "default")) - ret = elm_widget_style_set(sd->notify, "popup"); + ret = _elm_widget_style_set_internal(sd->notify, "popup"); else - ret = elm_widget_style_set(sd->notify, obj_style); + ret = _elm_widget_style_set_internal(sd->notify, obj_style); if (ret != ELM_THEME_APPLY_SUCCESS) - if (elm_widget_style_set(sd->notify, style) != ELM_THEME_APPLY_SUCCESS) - if (elm_widget_style_set(sd->notify, "popup") != ELM_THEME_APPLY_SUCCESS) - elm_widget_style_set(sd->notify, "popup/default"); + if (_elm_widget_style_set_internal(sd->notify, style) != ELM_THEME_APPLY_SUCCESS) + if (_elm_widget_style_set_internal(sd->notify, "popup") != ELM_THEME_APPLY_SUCCESS) + _elm_widget_style_set_internal(sd->notify, "popup/default"); } /* END */ @@ -1954,14 +1954,14 @@ _elm_popup_evas_object_smart_add(Eo *obj, Elm_Popup_Data *priv) const char *obj_style = elm_widget_style_get(obj); if (obj_style && !strcmp(obj_style, "default")) - ret = elm_widget_style_set(priv->notify, "popup"); + ret = _elm_widget_style_set_internal(priv->notify, "popup"); else - ret = elm_widget_style_set(priv->notify, obj_style); + ret = _elm_widget_style_set_internal(priv->notify, obj_style); if (ret != ELM_THEME_APPLY_SUCCESS) - if (elm_widget_style_set(priv->notify, style) != ELM_THEME_APPLY_SUCCESS) - if (elm_widget_style_set(priv->notify, "popup") != ELM_THEME_APPLY_SUCCESS) - elm_widget_style_set(priv->notify, "popup/default"); + if (_elm_widget_style_set_internal(priv->notify, style) != ELM_THEME_APPLY_SUCCESS) + if (_elm_widget_style_set_internal(priv->notify, "popup") != ELM_THEME_APPLY_SUCCESS) + _elm_widget_style_set_internal(priv->notify, "popup/default"); } /* END */