diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-06-28 16:14:21 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-06-28 16:14:21 -0400 |
commit | 8cca80d6a2381973b405d366e9a729fe1e038f04 (patch) | |
tree | c6a1dbd23773bb8779a9689624f5849b167d28a7 /gtk | |
parent | 1a42be00b4d6d664d0838b22951baa8ef597efc7 (diff) | |
download | gtk+-8cca80d6a2381973b405d366e9a729fe1e038f04.tar.gz |
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.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkprintunixdialog.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c index ea53e25ed5..afd7e72f1a 100644 --- a/gtk/gtkprintunixdialog.c +++ b/gtk/gtkprintunixdialog.c @@ -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; } |