diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/GeckoPrintService.cpp | 9 |
2 files changed, 6 insertions, 9 deletions
@@ -1,5 +1,11 @@ 2007-07-10 Christian Persch <chpe@gnome.org> + * embed/mozilla/GeckoPrintService.cpp: + + Remove gtk version check since we now depend on 2.11. + +2007-07-10 Christian Persch <chpe@gnome.org> + * lib/widgets/ephy-location-entry.c: (cursor_on_match_cb), (ephy_location_entry_set_completion): diff --git a/embed/mozilla/GeckoPrintService.cpp b/embed/mozilla/GeckoPrintService.cpp index 1d00eab76..481360ff8 100644 --- a/embed/mozilla/GeckoPrintService.cpp +++ b/embed/mozilla/GeckoPrintService.cpp @@ -30,7 +30,6 @@ #include <gtk/gtkprintunixdialog.h> #include <gtk/gtkstock.h> #include <gtk/gtkwindow.h> -#include <gtk/gtkversion.h> #include <glade/glade-xml.h> #include <nsStringAPI.h> @@ -535,15 +534,7 @@ GeckoPrintService::TranslateSettings (GtkPrintSettings *aGtkSettings, } #endif -#if GTK_CHECK_VERSION (2, 11, 0) GtkPrintCapabilities capabilities = gtk_printer_get_capabilities (aPrinter); -#else - GtkPrintCapabilities capabilities = GtkPrintCapabilities (GTK_PRINT_CAPABILITY_PAGE_SET | - GTK_PRINT_CAPABILITY_COPIES | - GTK_PRINT_CAPABILITY_COLLATE | - GTK_PRINT_CAPABILITY_REVERSE | - GTK_PRINT_CAPABILITY_SCALE); -#endif /* Initialisation */ aSettings->SetIsInitializedFromPrinter (PR_FALSE); /* FIXME: PR_TRUE? */ |