Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument/ev-file-exporter.h
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2007-09-01 17:35:44 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2007-09-01 17:35:44 (GMT)
commit153e65ad1a0382ffaf43cee43a158c020121969b (patch)
treea0b8efafbe848377fe15cccd1c9e78520a176008 /libdocument/ev-file-exporter.h
parent982600bbceb76a22d5c7b3e0cbe6e20421105ad6 (diff)
Actually fix printing regressions. Remove orientation from EvPrintContext
2007-09-01 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (pdf_document_file_exporter_begin), (pdf_document_file_exporter_do_page): * libdocument/ev-file-exporter.h: * shell/ev-jobs.[ch]: (ev_job_print_new), (ev_job_print_run): * shell/ev-window.c: (ev_window_print_dialog_response_cb): Actually fix printing regressions. Remove orientation from EvPrintContext since it's redundant. svn path=/trunk/; revision=2649
Diffstat (limited to 'libdocument/ev-file-exporter.h')
-rw-r--r--libdocument/ev-file-exporter.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/libdocument/ev-file-exporter.h b/libdocument/ev-file-exporter.h
index ab1daee..c05ea27 100644
--- a/libdocument/ev-file-exporter.h
+++ b/libdocument/ev-file-exporter.h
@@ -47,21 +47,15 @@ typedef enum {
EV_FILE_EXPORTER_CAN_NUMBER_UP = 1 << 8
} EvFileExporterCapabilities;
-typedef enum {
- EV_FILE_EXPORTER_PORTRAIT,
- EV_FILE_EXPORTER_LANDSCAPE
-} EvFileExporterOrientation;
-
typedef struct {
- EvFileExporterFormat format;
- const gchar *filename;
- gint first_page;
- gint last_page;
- gdouble paper_width;
- gdouble paper_height;
- EvFileExporterOrientation orientation;
- gboolean duplex;
- gint pages_per_sheet;
+ EvFileExporterFormat format;
+ const gchar *filename;
+ gint first_page;
+ gint last_page;
+ gdouble paper_width;
+ gdouble paper_height;
+ gboolean duplex;
+ gint pages_per_sheet;
} EvFileExporterContext;
#define EV_TYPE_FILE_EXPORTER (ev_file_exporter_get_type ())