From 0abb14da9b027db4a090b0dc78ce45e574a589cf Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 04 Jun 2005 17:09:23 +0000 Subject: Comment out some more fonts stuff. Should really work without the poppler 2005-06-04 Marco Pesenti Gritti * pdf/ev-poppler.cc: Comment out some more fonts stuff. Should really work without the poppler patch now. --- diff --git a/ChangeLog b/ChangeLog index d8b5267..d6ed0b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 + + * pdf/ev-poppler.cc: + Adapt to api change 2005-06-04 Marco Pesenti Gritti 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; } -- cgit v0.9.1