aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2018-10-11 19:42:57 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2018-10-11 19:42:57 +0900
commitb2c26c1875bc78a08183aa76b179b6e3b62d01c9 (patch)
treea993f68b76502475048d178947e1557511fd563a
parentevas cache: clear up caching locking and reference count. (diff)
downloadefl-b2c26c1875bc78a08183aa76b179b6e3b62d01c9.tar.gz
efl_ui_progressbar: avoid meaningless theme_apply
-rw-r--r--src/lib/elementary/efl_ui_progressbar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_progressbar.c b/src/lib/elementary/efl_ui_progressbar.c
index 5773a455df..be7fe5df7b 100644
--- a/src/lib/elementary/efl_ui_progressbar.c
+++ b/src/lib/elementary/efl_ui_progressbar.c
@@ -450,6 +450,8 @@ _efl_ui_progressbar_pulse_mode_get(const Eo *obj EINA_UNUSED, Efl_Ui_Progressbar
EOLIAN static void
_efl_ui_progressbar_efl_ui_direction_direction_set(Eo *obj, Efl_Ui_Progressbar_Data *sd, Efl_Ui_Dir dir)
{
+ if (sd->dir == dir) return;
+
sd->dir = dir;
efl_ui_widget_theme_apply(obj);