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

git pushed a commit to branch reproducible-widget-previews
in repository efl.

View the commit online.

commit a4eca337bb01f2110c142f5e0a60a14c4c71d555
Author: Cedric BAIL <[email protected]>
AuthorDate: Tue Mar 17 18:03:44 2026 -0600

    elm_photo: guard against NULL image object in follow callback
    
    elm_image_object_get() can return NULL when the internal image has
    not been created yet. Passing NULL to evas_object_event_callback_add
    triggers a safety check error on every thumb-done event.
    
    Made-with: Cursor
---
 src/lib/elementary/elm_photo.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elementary/elm_photo.c b/src/lib/elementary/elm_photo.c
index 5f8660352c..ad3cd9be69 100644
--- a/src/lib/elementary/elm_photo.c
+++ b/src/lib/elementary/elm_photo.c
@@ -243,6 +243,7 @@ _elm_photo_internal_image_follow(Evas_Object *obj)
    ELM_PHOTO_DATA_GET(obj, sd);
 
    img = elm_image_object_get(sd->icon);
+   if (!img) return;
 
    evas_object_event_callback_add
      (img, EVAS_CALLBACK_MOVE, _icon_move_resize_cb, obj);

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

Reply via email to