This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch devs/devilhorns/apos
in repository efl.

View the commit online.

commit ba16591b18c43aedf8252eeb0e398a3e00c31945
Author: Carsten Haitzler <[email protected]>
AuthorDate: Sun Feb 15 17:35:56 2026 +0000

    evas - evas_object_smart_data_get - dont complain to err
    
    if its not a smart obj... dont complain
---
 src/lib/evas/canvas/evas_object_smart.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_object_smart.c b/src/lib/evas/canvas/evas_object_smart.c
index 224cc2d619..a42e5ba43d 100644
--- a/src/lib/evas/canvas/evas_object_smart.c
+++ b/src/lib/evas/canvas/evas_object_smart.c
@@ -148,7 +148,10 @@ evas_object_smart_data_set(Evas_Object *eo_obj, void *data)
 EVAS_API void *
 evas_object_smart_data_get(const Evas_Object *eo_obj)
 {
-   EVAS_OBJECT_SMART_GET_OR_RETURN(eo_obj, NULL);
+   // do this by hand as this is often used as a func to figure out if this
+   // is a smart obj at all or not - so dont complain to stderr
+   Evas_Smart_Data *o = efl_data_scope_safe_get(eo_obj, MY_CLASS);
+   if (!o) return NULL;
    return o->data;
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to