Index: chrome/browser/printing/print_dialog_gtk.cc |
diff --git a/chrome/browser/printing/print_dialog_gtk.cc b/chrome/browser/printing/print_dialog_gtk.cc |
index 6457ce0b3736c4828166a72a4ac472ae47d4d56f..3e803edff28f33be2afe1720e1c4c24da6e4342e 100644 |
--- a/chrome/browser/printing/print_dialog_gtk.cc |
+++ b/chrome/browser/printing/print_dialog_gtk.cc |
@@ -143,9 +143,7 @@ void PrintDialogGtk::UseDefaultSettings() { |
g_object_ref(printer_); |
gtk_print_settings_set_printer(gtk_settings_, |
gtk_printer_get_name(printer_)); |
-#if GTK_CHECK_VERSION(2, 14, 0) |
page_setup_ = gtk_printer_get_default_page_size(printer_); |
-#endif |
} |
if (!page_setup_) |
@@ -236,10 +234,8 @@ void PrintDialogGtk::ShowDialog( |
GTK_PRINT_CAPABILITY_REVERSE); |
gtk_print_unix_dialog_set_manual_capabilities(GTK_PRINT_UNIX_DIALOG(dialog_), |
cap); |
-#if GTK_CHECK_VERSION(2, 18, 0) |
gtk_print_unix_dialog_set_embed_page_setup(GTK_PRINT_UNIX_DIALOG(dialog_), |
TRUE); |
-#endif |
g_signal_connect(dialog_, "response", G_CALLBACK(OnResponseThunk), this); |
gtk_widget_show(dialog_); |
} |