yakov pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=607510d2dcfbd6fbd5536016277e2a4887272002

commit 607510d2dcfbd6fbd5536016277e2a4887272002
Author: Yakov Goldberg <[email protected]>
Date:   Thu Feb 20 16:19:45 2014 +0200

    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 f5d3443..19dcf2a 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

-- 


Reply via email to