Evas: Make sure we return a value from image_load_orientation_get.
authordevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 7 Jun 2011 22:09:18 +0000 (22:09 +0000)
committerdevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 7 Jun 2011 22:09:18 +0000 (22:09 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@60052 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_image.c

index 7aa58b7..0bcb926 100644 (file)
@@ -1632,11 +1632,11 @@ evas_object_image_load_orientation_get(const Evas_Object *obj)
    Evas_Object_Image *o;
 
    MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
-   return;
+   return EINA_FALSE;
    MAGIC_CHECK_END();
    o = (Evas_Object_Image *)(obj->object_data);
    MAGIC_CHECK(o, Evas_Object_Image, MAGIC_OBJ_IMAGE);
-   return;
+   return EINA_FALSE;
    MAGIC_CHECK_END();
    return o->load_opts.orientation;
 }