raster pushed a commit to branch master.

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

commit 76004dfbec84664e253babc5bf576398a5901395
Author: Amitesh Singh <amitesh...@samsung.com>
Date:   Fri May 15 19:17:01 2015 +0900

    theme: return false if elm_object_style_set() failed to set requested style.
    
    Summary:
    elm_object_style_set(obj, "XXXX"); should return FALSE if XXXX style does 
not exist.
    Although it does set default style if "XXXX" style does not exist.
    
    @fix
    
    Reviewers: raster, Hermet
    
    Subscribers: seoz, sachin.dev
    
    Differential Revision: https://phab.enlightenment.org/D2511
---
 src/lib/elm_theme.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_theme.c b/src/lib/elm_theme.c
index 134dc00..e2db509 100644
--- a/src/lib/elm_theme.c
+++ b/src/lib/elm_theme.c
@@ -320,7 +320,7 @@ _elm_theme_set(Elm_Theme *th, Evas_Object *o, const char 
*clas, const char *grou
         file = _elm_theme_group_file_find(th, buf2);
         if (file)
           {
-             if (edje_object_mmap_set(o, file, buf2)) return EINA_TRUE;
+             if (edje_object_mmap_set(o, file, buf2)) return EINA_FALSE;
              else
                {
                   DBG("could not set theme group '%s' from file '%s': %s",

-- 


Reply via email to