Skip to content

Fix memory leak by unreffing the GtkNativeDialog once we're done with it.

This is needed as GtkNativeDialog is not a toplevel widget.

From GtkNativeDialog doc:

Note that unlike GtkDialog, GtkNativeDialog objects are not toplevel widgets, and GTK does not keep them alive. It is your responsibility to keep a reference until you are done with the object.

Merge request reports