From: Marco Pesenti Gritti Date: Sat, 4 Jun 2005 17:01:41 +0000 (+0000) Subject: Adapt to api change X-Git-Tag: EVINCE_0_3_3~285 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=d668a39b3c75614e4fb57b99fed6b1561bd747c8;p=evince.git Adapt to api change 2005-06-04 Marco Pesenti Gritti * pdf/ev-poppler.cc: Adapt to api change --- 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 }