# HG changeset patch # User Olaf Wintermann # Date 1745139410 -7200 # Node ID 950d2e38957bdfc43720b0913923a581fb04447c # Parent c2e8548209227e9c6b731854422e04602c864626 fix ui_image_load_* functions would not set the type to UI_IMAGE_OBJECT_TYPE in case UiGeneric is not bound to an widget diff -r c2e854820922 -r 950d2e38957b ui/gtk/image.c --- a/ui/gtk/image.c Sat Apr 19 20:02:23 2025 +0200 +++ b/ui/gtk/image.c Sun Apr 20 10:56:50 2025 +0200 @@ -336,6 +336,7 @@ g_object_unref(pixbuf); } else { obj->value = pixbuf; + obj->type = UI_IMAGE_OBJECT_TYPE; } return 0; @@ -356,6 +357,7 @@ g_object_unref(pixbuf); } else { obj->value = pixbuf; + obj->type = UI_IMAGE_OBJECT_TYPE; } return 0;