Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-06-04 17:57:46 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-06-04 17:57:46 (GMT)
commit07d12ea402c007f4d9ef30dff8f653a3bd3a1583 (patch)
treef3d7c30a00bdd192cad6fd2f6bba23159d60565b
parent0abb14da9b027db4a090b0dc78ce45e574a589cf (diff)
More commenting of font stuff
-rw-r--r--ChangeLog6
-rw-r--r--pdf/ev-poppler.cc6
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d6ed0b2..4a82452 100644
--- 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:
diff --git a/pdf/ev-poppler.cc b/pdf/ev-poppler.cc
index 6597cfa..c65f1df 100644
--- a/pdf/ev-poppler.cc
+++ b/pdf/ev-poppler.cc
@@ -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);