]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-utils.c
Make printing support optional. Patch from Eduardo de Barros Lima
[evince.git] / shell / ev-utils.c
index 75087869b0d26f9f3a95b1d5eafe44131b07796a..3dc849c733a030c32ee6d76620238c2cba8ed46e 100644 (file)
@@ -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 */