summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2015-06-29 11:15:26 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2015-06-29 11:24:34 +0530
commitd4e4820b030c1f1239f2ad3fbe4a8c287d9c3e4a (patch)
tree9d26f6d84ea418270ae3acdf0a5bc1c5470b9c1f
parent1a1aaec3c9f58c4a7408ccfc3e8a14cc607cfb58 (diff)
slider: call elm_widget_theme_get instead of elm_object_theme_get.
This reduces one function call and make code more consistent between widgets.
-rw-r--r--src/lib/elm_slider.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_slider.c b/src/lib/elm_slider.c
index f9113c1be..8ace028cf 100644
--- a/src/lib/elm_slider.c
+++ b/src/lib/elm_slider.c
@@ -540,7 +540,7 @@ _elm_slider_elm_widget_theme_apply(Eo *obj, Elm_Slider_Data *sd)
540 { 540 {
541 eina_stringshare_replace(&ld->group, "horizontal"); 541 eina_stringshare_replace(&ld->group, "horizontal");
542 if (sd->popup) 542 if (sd->popup)
543 _elm_theme_set(elm_object_theme_get(obj), sd->popup, 543 _elm_theme_set(elm_widget_theme_get(obj), sd->popup,
544 "slider", "horizontal/popup", 544 "slider", "horizontal/popup",
545 elm_widget_style_get(obj)); 545 elm_widget_style_get(obj));
546 } 546 }
@@ -548,7 +548,7 @@ _elm_slider_elm_widget_theme_apply(Eo *obj, Elm_Slider_Data *sd)
548 { 548 {
549 eina_stringshare_replace(&ld->group, "vertical"); 549 eina_stringshare_replace(&ld->group, "vertical");
550 if (sd->popup) 550 if (sd->popup)
551 _elm_theme_set(elm_object_theme_get(obj), sd->popup, 551 _elm_theme_set(elm_widget_theme_get(obj), sd->popup,
552 "slider", "vertical/popup", 552 "slider", "vertical/popup",
553 elm_widget_style_get(obj)); 553 elm_widget_style_get(obj));
554 } 554 }