Commit ad764c8a authored by Alban Browaeys's avatar Alban Browaeys Committed by Matthias Clasen

print: disconnect source_changed_handler on printeroptionwidget finalize

Printing a web page without window.print (which still segfault),
that is Ctrl+P is fixed (does not attempt to execute the
source_changed_handler on a printeroptionwidget that has been
destroyed) by disconnecting this handler in the printeroptionwidget
parent efaacea1
......@@ -152,6 +152,8 @@ gtk_printer_option_widget_finalize (GObject *object)
if (priv->source)
g_signal_handler_disconnect (priv->source,
g_object_unref (priv->source);
priv->source = NULL;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment