gtk 4.14.5
In my application for all widgets created and add to gtk_application_window, hbox … etc.. I use g_object_weak_ref in order to remove some data at destroy time.
When i start application and quit it is OK. All widget are detected as weak (delete).
Bu when i start application and open another gtk_application_window as dialog box, and quit the two gtk_application_window with gtk_window_close, all childs widget under scrollbar are not detected as weaked.
I have to unref then programmatically.
I use g_application_run(G_APPLICATION(m_pgApp), 0, nullptr); to open the two window.(GtkWindow)
I Remark that have now gtkscrollwindow use GTK_VIEWPORT. And child is viewport and the originale child is my child.
Is there any reason we don’t detect weared reference ?