From fa0ce02c6b9e4f9ee3710b65f2b530a4145a67ab Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 10 Jul 2007 13:15:41 +0000 Subject: Remove gtk version check since we now depend on 2.11. 2007-07-10 Christian Persch * embed/mozilla/GeckoPrintService.cpp: Remove gtk version check since we now depend on 2.11. svn path=/trunk/; revision=7140 --- embed/mozilla/GeckoPrintService.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'embed/mozilla/GeckoPrintService.cpp') 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 #include #include -#include #include #include @@ -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? */ -- cgit v1.2.3