From: Nickolay V. Shmyrev Date: Sat, 4 Jun 2005 17:57:46 +0000 (+0000) Subject: More commenting of font stuff X-Git-Tag: EVINCE_0_3_3~283 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=07d12ea402c007f4d9ef30dff8f653a3bd3a1583;p=evince.git More commenting of font stuff --- diff --git a/ChangeLog b/ChangeLog index d6ed0b28..4a82452b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-06-04 Nickolay V. Shmyrev + + * pdf/ev-poppler.cc: + + More commenting of font stuff. + 2005-06-04 Marco Pesenti Gritti * pdf/ev-poppler.cc: diff --git a/pdf/ev-poppler.cc b/pdf/ev-poppler.cc index 6597cfa9..c65f1df1 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);