* evas_object_image.c: Remove a warning and return 1 as a success.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 17 Feb 2009 17:36:29 +0000 (17:36 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 17 Feb 2009 17:36:29 +0000 (17:36 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39060 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_image.c

index ae76da1..183beaf 100644 (file)
@@ -2721,6 +2721,7 @@ evas_object_image_get_opaque_rect(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y
    if (*w < 0) *w = 0;
    *h = obj->cur.geometry.h - (o->cur.border.t + o->cur.border.b);
    if (*h < 0) *h = 0;
+   return 1;
 }
 
 static void *