diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2005-06-04 17:09:23 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2005-06-04 17:09:23 (GMT) |
commit | 0abb14da9b027db4a090b0dc78ce45e574a589cf (patch) | |
tree | b5b07fb24db31ea5ec4c68c9cdde592ef744dbf7 | |
parent | d668a39b3c75614e4fb57b99fed6b1561bd747c8 (diff) |
Comment out some more fonts stuff. Should really work without the poppler
2005-06-04 Marco Pesenti Gritti <mpg@redhat.com>
* pdf/ev-poppler.cc:
Comment out some more fonts stuff. Should really
work without the poppler patch now.
-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; } |