[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[core/elementary] master 02/02: No need for a cast here as 'obj' is already Eo when passed in.



devilhorns pushed a commit to branch master.

commit 4e4c32a7d6df34a0ca9b2bdd38b680c3512b18d1
Author: Chris Michael <cp.michael@samsung.com>
Date:   Mon Sep 16 11:41:26 2013 +0100

    No need for a cast here as 'obj' is already Eo when passed in.
    
    Signed-off-by: Chris Michael <cp.michael@samsung.com>
---
 src/lib/elm_widget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index c6d24b7..3c20ecc 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -4813,7 +4813,7 @@ _elm_widget_orientation_mode_disabled_set(Eo *obj, void *_pd, va_list *list)
         if (!sd_parent) orient_mode = 0;
         else orient_mode = sd_parent->orient_mode;
      }
-   eo_do((Eo *) obj, elm_wdg_orientation_set(orient_mode, NULL));
+   eo_do(obj, elm_wdg_orientation_set(orient_mode, NULL));
 }
 
 EAPI Eina_Bool

--