From b5142f26e7de7b50aa6d98abb8e5a7b112fbe3f1 Mon Sep 17 00:00:00 2001 From: helen Date: Thu, 25 Nov 2010 19:41:59 +0000 Subject: [PATCH] evas_object_image_file_set can receives null to unset Passing null to the second parameter is the only way to unset the file, so it should not have EINA_ARG_NONNULL to the file parameter git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@54998 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/Evas.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Evas.h b/src/lib/Evas.h index 6fba31e..36a5739 100644 --- a/src/lib/Evas.h +++ b/src/lib/Evas.h @@ -1218,7 +1218,7 @@ typedef void (*Evas_Object_Image_Pixels_Get_Cb) (void *data, Evas_Object *o); EAPI Evas_Object *evas_object_image_add (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC; EAPI Evas_Object *evas_object_image_filled_add (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC; - EAPI void evas_object_image_file_set (Evas_Object *obj, const char *file, const char *key) EINA_ARG_NONNULL(1, 2); + EAPI void evas_object_image_file_set (Evas_Object *obj, const char *file, const char *key) EINA_ARG_NONNULL(1); EAPI void evas_object_image_file_get (const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1, 2); EAPI void evas_object_image_border_set (Evas_Object *obj, int l, int r, int t, int b) EINA_ARG_NONNULL(1); EAPI void evas_object_image_border_get (const Evas_Object *obj, int *l, int *r, int *t, int *b) EINA_ARG_NONNULL(1); -- 2.7.4