]> www.fi.muni.cz Git - evince.git/commitdiff
Adapt to api change
authorMarco Pesenti Gritti <mpg@redhat.com>
Sat, 4 Jun 2005 17:01:41 +0000 (17:01 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Sat, 4 Jun 2005 17:01:41 +0000 (17:01 +0000)
2005-06-04  Marco Pesenti Gritti <mpg@redhat.com>

        * pdf/ev-poppler.cc:

        Adapt to api change

ChangeLog
pdf/ev-poppler.cc

index edd0d3a4ee43fa324251a69d7ecf0ef1e1f7babe..d8b52677ec1a122b3b1d36961ac48bdbafb241d4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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>
 
        * data/evince-properties.glade:
index a4033881b314680334ea9c03be6ce426c88eedd4..b6c98e7484fd36159515c87c669bd35a566a6dac 100644 (file)
@@ -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
 }