const char *style = elm_widget_style_get(obj);
- /* TIZEN_ONLY(20161201): block_events restore previous style when style set failed
if (!elm_layout_theme_set
(sd->block_events, "notify", "block_events", style))
CRI("Failed to set layout!");
- */
- const char *prev_style = elm_widget_style_get(sd->block_events);
- Elm_Theme_Apply ret;
-
- if (_elm_layout_theme_set_internal
- (sd->block_events, "notify", "block_events", style) != ELM_THEME_APPLY_SUCCESS)
- elm_layout_theme_set(sd->block_events, "notify", "block_events", prev_style);
- /* END */
}
static void