2006-12-18 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-view.c: (draw_loading_text):
Acquire lock document when drawing "Loading..." text so that only one
thread will use FontConfig at the same time. Fixes bug #374750.
+2006-12-18 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-view.c: (draw_loading_text):
+
+ Acquire lock document when drawing "Loading..." text so that only one
+ thread will use FontConfig at the same time. Fixes bug #374750.
+
2006-12-15 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-page-action.[ch]: (activate_cb):
const char *loading_text = _("Loading...");
+ ev_document_doc_mutex_lock ();
+
layout = gtk_widget_create_pango_layout (GTK_WIDGET (view), loading_text);
font_desc = pango_font_description_new ();
pango_font_description_free (font_desc);
g_object_unref (layout);
+
+ ev_document_doc_mutex_unlock ();
}
static void