mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Improve handling of print-to-file uri
Going from print-to-file to a real printer and back used to nuke an app-provided uri; now we keep the initial settings around to avoid that. Fixes bug 587086.
This commit is contained in:
parent
1a42be00b4
commit
8cca80d6a2
@ -1424,12 +1424,6 @@ options_changed_cb (GtkPrintUnixDialog *dialog)
|
||||
|
||||
schedule_idle_mark_conflicts (dialog);
|
||||
|
||||
if (priv->initial_settings)
|
||||
{
|
||||
g_object_unref (priv->initial_settings);
|
||||
priv->initial_settings = NULL;
|
||||
}
|
||||
|
||||
g_free (priv->waiting_for_printer);
|
||||
priv->waiting_for_printer = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user