ui/gtk/toolkit.c

changeset 86
8e7c57c23133
parent 70
94144a948aff
--- a/ui/gtk/toolkit.c	Thu Nov 14 23:22:35 2024 +0100
+++ b/ui/gtk/toolkit.c	Fri Nov 15 21:50:20 2024 +0100
@@ -163,6 +163,7 @@
 #elif GTK_MAJOR_VERSION <= 3
     gtk_widget_show_all(obj->widget);
 #endif
+    obj->ref++;
 }
 
 void ui_close(UiObject *obj) {

mercurial