]> www.fi.muni.cz Git - evince.git/commitdiff
More commenting of font stuff
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sat, 4 Jun 2005 17:57:46 +0000 (17:57 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sat, 4 Jun 2005 17:57:46 +0000 (17:57 +0000)
ChangeLog
pdf/ev-poppler.cc

index d6ed0b28a72f9bee204493836fd6781238e7fcbc..4a82452b3e1a86816af36d87e58bdc0034a8937c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-06-04  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
+
+       * pdf/ev-poppler.cc:
+       
+       More commenting of font stuff.
+
 2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>
 
        * pdf/ev-poppler.cc:
index 6597cfa9c808b7ba39ce3f91b42921c95e45544a..c65f1df109ea61acc971526ebc573a9223f48bf3 100644 (file)
@@ -495,13 +495,13 @@ pdf_document_security_iface_init (EvDocumentSecurityIface *iface)
        iface->set_password = pdf_document_set_password;
 }
 
+#ifdef POPPLER_FONT_INFO
 static void
 build_fonts_list (PdfDocument      *pdf_document,
                  GtkTreeModel     *model,
                  GtkTreeIter      *parent,
                  PopplerFontsIter *iter)
 {
-#ifdef POPPLER_FONT_INFO
        do {
                GtkTreeIter list_iter;
                PopplerIndexIter *child;
@@ -513,15 +513,17 @@ build_fonts_list (PdfDocument      *pdf_document,
                                    EV_DOCUMENT_FONTS_COLUMN_NAME, name,
                                    -1);
        } while (poppler_fonts_iter_next (iter));
-#endif
 }
+#endif
 
 static GtkTreeModel *
 pdf_document_fonts_get_fonts_model (EvDocumentFonts *document_fonts)
 {
        PdfDocument *pdf_document = PDF_DOCUMENT (document_fonts);
        GtkTreeModel *model = NULL;
+#ifdef POPPLER_FONT_INFO
        PopplerFontsIter *iter;
+#endif
 
        g_return_val_if_fail (PDF_IS_DOCUMENT (document_fonts), NULL);