Skip to content

printers: Unset transient-for for PpPPDSelectionDialog

This unsets transient-for for PpPPDSelectionDialog in its response callback since due some reason its parent PpNewPrinterDialog is destroyed first and once the PpPPDSelectionDialog is being destroyed it tries to unset the transient-for but unsuccessfully resulting in warnings like:

"instance with invalid (NULL) class pointer" "g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed"

This fixes the issue in gnome-control-center for now and I'll try to create a simple gtk reproducer if possible and will create an issue for that (if I won't come to a decision that it is not an issue in gtk of course :) ).

Merge request reports