From d668a39b3c75614e4fb57b99fed6b1561bd747c8 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 4 Jun 2005 17:01:41 +0000 Subject: [PATCH] Adapt to api change 2005-06-04 Marco Pesenti Gritti * pdf/ev-poppler.cc: Adapt to api change --- ChangeLog | 6 ++++++ pdf/ev-poppler.cc | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index edd0d3a4..d8b52677 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-06-04 Marco Pesenti Gritti + + * pdf/ev-poppler.cc: + + Adapt to api change + 2005-06-04 Marco Pesenti Gritti * data/evince-properties.glade: diff --git a/pdf/ev-poppler.cc b/pdf/ev-poppler.cc index a4033881..b6c98e74 100644 --- a/pdf/ev-poppler.cc +++ b/pdf/ev-poppler.cc @@ -505,14 +505,13 @@ build_fonts_list (PdfDocument *pdf_document, do { GtkTreeIter list_iter; PopplerIndexIter *child; - char *name; + const char *name; name = poppler_fonts_iter_get_name (iter); gtk_list_store_append (GTK_LIST_STORE (model), &list_iter); gtk_list_store_set (GTK_LIST_STORE (model), &list_iter, EV_DOCUMENT_FONTS_COLUMN_NAME, name, -1); - g_free (name); } while (poppler_fonts_iter_next (iter)); #endif } -- 2.43.5