diff options
author | Nickolay 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) |
commit | f2511820a5499da40ae972bc833616a176d78f8f (patch) | |
tree | 3397621dd1267eb8d899cd52e08e0f3ba55d06cb /shell/ev-utils.c | |
parent | fb037eb2a0842976deddd8df6793ed642eea5674 (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.c')
-rw-r--r-- | shell/ev-utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |