From 607510d2dcfbd6fbd5536016277e2a4887272002 Mon Sep 17 00:00:00 2001 From: Yakov Goldberg Date: Thu, 20 Feb 2014 16:19:45 +0200 Subject: [PATCH] image: remove EINA_ARG_NONNULL check for parameter in evas_object_image_file_get(const Evas_Object *obj, const char **file, const char **key) remove check for second parameter "file", because it contradicts comment's statement, that NULL can be passed, if parameter not needed. All needed NULL checks of parameter are present inside func. --- src/lib/evas/Evas_Legacy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/evas/Evas_Legacy.h b/src/lib/evas/Evas_Legacy.h index f5d3443d36..19dcf2ae2f 100644 --- a/src/lib/evas/Evas_Legacy.h +++ b/src/lib/evas/Evas_Legacy.h @@ -3999,7 +3999,7 @@ EAPI void evas_object_image_mmap_set(Evas_Object *obj, * @note Use @c NULL pointers on the file components you're not * interested in: they'll be ignored by the function. */ -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_file_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1); /** * Set the dimensions for an image object's border, a region which @b