Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-utils.h
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2006-02-10 04:36:12 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2006-02-10 04:36:12 (GMT)
commitf2511820a5499da40ae972bc833616a176d78f8f (patch)
tree3397621dd1267eb8d899cd52e08e0f3ba55d06cb /shell/ev-utils.h
parentfb037eb2a0842976deddd8df6793ed642eea5674 (diff)
Make printing support optional. Patch from Eduardo de Barros Lima
* configure.ac: * shell/Makefile.am: * shell/ev-sidebar-links.c: (print_section_cb): * shell/ev-utils.c: * shell/ev-utils.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_close_dialogs), (ev_window_print): * shell/ev-window.h: Make printing support optional. Patch from Eduardo de Barros Lima <eduardo.lima@indt.org.br> for the bug #330546.
Diffstat (limited to 'shell/ev-utils.h')
-rw-r--r--shell/ev-utils.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/ev-utils.h b/shell/ev-utils.h
index fbacb0f..1d7e882 100644
--- a/shell/ev-utils.h
+++ b/shell/ev-utils.h
@@ -23,7 +23,9 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gtk/gtk.h>
+#ifdef WITH_GNOME_PRINT
#include <libgnomeprintui/gnome-print-dialog.h>
+#endif
G_BEGIN_DECLS
@@ -32,11 +34,12 @@ GdkPixbuf* ev_pixbuf_add_shadow (GdkPixbuf *src, int size,
void ev_print_region_contents (GdkRegion *region);
-
+#ifdef WITH_GNOME_PRINT
GnomePrintConfig* load_print_config_from_file (void);
void save_print_config_to_file (GnomePrintConfig *config);
gboolean using_postscript_printer (GnomePrintConfig *config);
gboolean using_pdf_printer (GnomePrintConfig *config);
+#endif
G_END_DECLS