# HG changeset patch # User Olaf Wintermann # Date 1770907698 -3600 # Node ID d64c417039bc38ede9f160fbc0f19c28dd51b447 # Parent e097bc7cfec6ac6767479d7a43706008c279b296 the dummy object should not increase the app reference counter diff -r e097bc7cfec6 -r d64c417039bc ui/common/object.c --- a/ui/common/object.c Thu Feb 12 15:44:46 2026 +0100 +++ b/ui/common/object.c Thu Feb 12 15:48:18 2026 +0100 @@ -63,7 +63,6 @@ UiObject* ui_dummy_object(void) { UiObject *obj = uic_object_new_toplevel(); obj->ref = 1; - ui_app_ref(); return obj; } diff -r e097bc7cfec6 -r d64c417039bc ui/gtk/toolkit.c --- a/ui/gtk/toolkit.c Thu Feb 12 15:44:46 2026 +0100 +++ b/ui/gtk/toolkit.c Thu Feb 12 15:48:18 2026 +0100 @@ -190,7 +190,6 @@ #endif } else { ui_window_close_request(obj); - ui_app_unref(); } }