From f2511820a5499da40ae972bc833616a176d78f8f Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Fri, 10 Feb 2006 04:36:12 +0000 Subject: 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 for the bug #330546. --- (limited to 'shell/ev-utils.c') diff --git a/shell/ev-utils.c b/shell/ev-utils.c index 7508786..3dc849c 100644 --- a/shell/ev-utils.c +++ b/shell/ev-utils.c @@ -420,6 +420,7 @@ ev_file_set_contents (const gchar *filename, #endif /* HAVE_G_FILE_SET_CONTENTS */ +#ifdef WITH_GNOME_PRINT gboolean using_pdf_printer (GnomePrintConfig *config) { @@ -511,5 +512,6 @@ save_print_config_to_file (GnomePrintConfig *config) g_free (file_name); g_free (str); } +#endif /* WITH_GNOME_PRINT */ -- cgit v0.9.1