ami pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=d4e4820b030c1f1239f2ad3fbe4a8c287d9c3e4a

commit d4e4820b030c1f1239f2ad3fbe4a8c287d9c3e4a
Author: Amitesh Singh <amitesh...@samsung.com>
Date:   Mon Jun 29 11:15:26 2015 +0530

    slider: call elm_widget_theme_get instead of elm_object_theme_get.
    
    This reduces one function call and make code more consistent
    between widgets.
---
 src/lib/elm_slider.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elm_slider.c b/src/lib/elm_slider.c
index f9113c1..8ace028 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)
      {
         eina_stringshare_replace(&ld->group, "horizontal");
         if (sd->popup)
-          _elm_theme_set(elm_object_theme_get(obj), sd->popup,
+          _elm_theme_set(elm_widget_theme_get(obj), sd->popup,
                          "slider", "horizontal/popup",
                          elm_widget_style_get(obj));
      }
@@ -548,7 +548,7 @@ _elm_slider_elm_widget_theme_apply(Eo *obj, Elm_Slider_Data 
*sd)
      {
         eina_stringshare_replace(&ld->group, "vertical");
         if (sd->popup)
-          _elm_theme_set(elm_object_theme_get(obj), sd->popup,
+          _elm_theme_set(elm_widget_theme_get(obj), sd->popup,
                          "slider", "vertical/popup",
                          elm_widget_style_get(obj));
      }

-- 


Reply via email to