edje file_set: _edje_object_orientation_inform should be in the Eo
authorDaniel Zaoui <daniel.zaoui@samsung.com>
Tue, 19 Feb 2013 15:49:41 +0000 (17:49 +0200)
committerDaniel Zaoui <daniel.zaoui@samsung.com>
Tue, 19 Feb 2013 15:51:43 +0000 (17:51 +0200)
implementation, not just legacy

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
src/lib/edje/edje_load.c
src/lib/edje/edje_smart.c

index 7798b12..791428d 100644 (file)
@@ -77,7 +77,6 @@ edje_object_file_set(Evas_Object *obj, const char *file, const char *group)
    Eina_Bool ret = EINA_FALSE;
 
    eo_do(obj, edje_obj_file_set(file, group, &ret));
-   _edje_object_orientation_inform(obj);
    return ret;
 }
 
index 22c9dc3..80951d9 100644 (file)
@@ -333,6 +333,7 @@ _edje_smart_file_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
    if (_edje_object_file_set_internal(obj, file, group, NULL, NULL, nested))
      if (ret) *ret = EINA_TRUE;
    eina_array_free(nested);
+   _edje_object_orientation_inform(obj);
 }
 
 static void