2006-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/ev-document-links.c: (ev_document_links_find_link_dest):
Run find_link_dest with document lock held, since it's called by links
thread and main thread at the same time.
+2006-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * backend/ev-document-links.c: (ev_document_links_find_link_dest):
+
+ Run find_link_dest with document lock held, since it's called by links
+ thread and main thread at the same time.
+
2006-12-25 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-view.c: (goto_dest):
EvDocumentLinksIface *iface = EV_DOCUMENT_LINKS_GET_IFACE (document_links);
EvLinkDest *retval;
+ ev_document_doc_mutex_lock ();
retval = iface->find_link_dest (document_links, link_name);
+ ev_document_doc_mutex_unlock ();
return retval;
}