diff options
author | Christian Persch <chpe@gnome.org> | 2007-07-10 21:15:41 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2007-07-10 21:15:41 +0800 |
commit | fa0ce02c6b9e4f9ee3710b65f2b530a4145a67ab (patch) | |
tree | 94ee0f13214bb4ff0ac7059c470b419ced6788db /embed/mozilla | |
parent | eaec7f0ac35867c5749b4d6f221bdf10f3c22a24 (diff) | |
download | gsoc2013-epiphany-fa0ce02c6b9e4f9ee3710b65f2b530a4145a67ab.tar.gz gsoc2013-epiphany-fa0ce02c6b9e4f9ee3710b65f2b530a4145a67ab.tar.zst gsoc2013-epiphany-fa0ce02c6b9e4f9ee3710b65f2b530a4145a67ab.zip |
Remove gtk version check since we now depend on 2.11.
2007-07-10 Christian Persch <chpe@gnome.org>
* embed/mozilla/GeckoPrintService.cpp:
Remove gtk version check since we now depend on 2.11.
svn path=/trunk/; revision=7140
Diffstat (limited to 'embed/mozilla')
-rw-r--r-- | embed/mozilla/GeckoPrintService.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
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? */ |