+2005-04-22 Kristian Høgsberg <krh@redhat.com>
+
+ * shell/ev-view.c (highlight_find_results): Remove unnecessary
+ locking.
+
2005-04-22 Bryan Clark <clarkbw@cvs.gnome.org>
* thumbnailer/evince-thumbnailer.schemas: real fix for bug 172496
find = EV_DOCUMENT_FIND (view->document);
- ev_document_doc_mutex_lock ();
results = ev_document_find_get_n_results (find, view->current_page);
- ev_document_doc_mutex_unlock ();
for (i = 0; i < results; i++) {
EvRectangle rectangle;
guchar alpha;
alpha = (i == view->find_result) ? 0x90 : 0x20;
- ev_document_doc_mutex_lock ();
ev_document_find_get_result (find, view->current_page,
i, &rectangle);
- ev_document_doc_mutex_unlock ();
doc_rect_to_view_rect (view, &rectangle, &view_rectangle);
draw_rubberband (GTK_WIDGET (view), view->bin_window,
&view_rectangle, alpha);