void gtk_window_set_has_user_ref_count ( GtkWindow* window, gboolean setting )
Tells GTK+ whether to drop its extra reference to the window
gtk_widget_destroy() is called.
This function is only exported for the benefit of language bindings which may need to keep the window alive until their wrapper object is garbage collected. There is no justification for ever calling this function in an application.
Available since: 3.0