2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
        * pdf/ev-poppler.cc:
        Enable is_open for links, you will need poppler cvs
        * shell/ev-properties.c: (job_fonts_finished_cb):
        Get a lock on the document when filling the tree view
+2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
+
+       * pdf/ev-poppler.cc:
+
+       Enable is_open for links, you will need poppler cvs
+
+       * shell/ev-properties.c: (job_fonts_finished_cb):
+
+       Get a lock on the document when filling the tree view
+
 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
 
        * backend/ev-document-links.h:
 
                gboolean expand;
                
                action = poppler_index_iter_get_action (iter);
-#ifdef POPPLER_LINK_IS_OPEN
                expand = poppler_index_iter_is_open (iter);
-#else
-               expand = TRUE;
-#endif
                if (action) {
                        gtk_tree_store_append (GTK_TREE_STORE (model), &tree_iter, parent);
                        link = ev_link_from_action (action);
 
 
                model = gtk_tree_view_get_model
                                (GTK_TREE_VIEW (properties->fonts_treeview));
+               ev_document_doc_mutex_lock ();
                ev_document_fonts_fill_model (document_fonts, model);
+               ev_document_doc_mutex_unlock ();
                new_job = ev_job_fonts_new (job->document);
                ev_job_queue_add_job (job, EV_JOB_PRIORITY_LOW);
                g_object_unref (new_job);