elementary/layout - write as possible as simpler code
authorChunEon Park <hermet@hermet.pe.kr>
Fri, 10 Jan 2014 02:23:18 +0000 (11:23 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Fri, 10 Jan 2014 02:23:18 +0000 (11:23 +0900)
src/lib/elm_layout.c

index fac47e0..7666449 100644 (file)
@@ -376,7 +376,7 @@ _elm_layout_smart_theme(Eo *obj, void *_pd, va_list *list)
     * of entry needs to call directly the widget _theme function */
    Eina_Bool enable = EINA_TRUE;
    eo_do(obj, elm_obj_layout_theme_enable(&enable));
-   if (EINA_TRUE != enable)
+   if (!enable)
      {
         if (ret) *ret = EINA_TRUE;
         return;