Evas image: Add const to the obj parameter.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 24 Apr 2012 11:01:53 +0000 (11:01 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 24 Apr 2012 11:01:53 +0000 (11:01 +0000)
Patch by Daniel Zaoui.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@70433 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/Evas.h
src/lib/canvas/evas_object_image.c

index c6743f3..7f41f4a 100644 (file)
@@ -7491,7 +7491,7 @@ EAPI Eina_Bool                evas_object_image_source_set             (Evas_Obj
  *
  * @see evas_object_image_source_set() for more details
  */
-EAPI Evas_Object             *evas_object_image_source_get             (Evas_Object *obj) EINA_ARG_NONNULL(1);
+EAPI Evas_Object             *evas_object_image_source_get             (const Evas_Object *obj) EINA_ARG_NONNULL(1);
 
 /**
  * Clear the source object on a proxy image object.
index 4ebea08..bef47df 100644 (file)
@@ -451,7 +451,7 @@ evas_object_image_source_set(Evas_Object *obj, Evas_Object *src)
 
 
 EAPI Evas_Object *
-evas_object_image_source_get(Evas_Object *obj)
+evas_object_image_source_get(const Evas_Object *obj)
 {
    Evas_Object_Image *o;