diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | pdf/ev-poppler.cc | 4 |
2 files changed, 11 insertions, 0 deletions
@@ -2,6 +2,13 @@ * pdf/ev-poppler.cc: + Comment out some more fonts stuff. Should really + work without the poppler patch now. + +2005-06-04 Marco Pesenti Gritti <mpg@redhat.com> + + * pdf/ev-poppler.cc: + Adapt to api change 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com> diff --git a/pdf/ev-poppler.cc b/pdf/ev-poppler.cc index b6c98e7..6597cfa 100644 --- a/pdf/ev-poppler.cc +++ b/pdf/ev-poppler.cc @@ -525,14 +525,18 @@ pdf_document_fonts_get_fonts_model (EvDocumentFonts *document_fonts) g_return_val_if_fail (PDF_IS_DOCUMENT (document_fonts), NULL); +#ifdef POPPLER_FONT_INFO iter = poppler_fonts_iter_new (pdf_document->document); /* Create the model iff we have items*/ if (iter != NULL) { +#endif model = (GtkTreeModel *) gtk_list_store_new (EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS, G_TYPE_STRING); +#ifdef POPPLER_FONT_INFO build_fonts_list (pdf_document, model, NULL, iter); poppler_fonts_iter_free (iter); } +#endif return model; } |