]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-window.c
Bug 495107 – Handle print dialog responses correctly
[evince.git] / shell / ev-window.c
index dc96285d79429cb1cf5a42b3cf9ac1cadec61279..917ebcfd9fd2dd955a1f0fc1275bd5b8a45dbed3 100644 (file)
@@ -2220,7 +2220,7 @@ ev_window_print_dialog_response_cb (GtkDialog *dialog,
        GtkPrintPages  print_pages;
        const gchar   *file_format;
        
-       if (response != GTK_RESPONSE_ACCEPT &&
+       if (response != GTK_RESPONSE_OK &&
            response != GTK_RESPONSE_APPLY) {
                gtk_widget_destroy (GTK_WIDGET (dialog));
                window->priv->print_dialog = NULL;