]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-application.c
[shell] Remove fontconfig lock/unlock when showing the main window
[evince.git] / shell / ev-application.c
index 497ce21b6258a711ffe3187b8ba96450b18fd686..d6df75d19e13c3550dbd9c083172804257ff08d2 100644 (file)
@@ -635,13 +635,9 @@ ev_application_open_uri_in_window (EvApplication  *application,
                timestamp = gdk_x11_get_server_time (gdk_window);
        gdk_x11_window_set_user_time (gdk_window, timestamp);
 
-       ev_document_fc_mutex_lock ();
        gtk_window_present (GTK_WINDOW (ev_window));
-       ev_document_fc_mutex_unlock ();
 #else
-       ev_document_fc_mutex_lock ();
        gtk_window_present_with_time (GTK_WINDOW (ev_window), timestamp);
-       ev_document_fc_mutex_unlock ();
 #endif /* GDK_WINDOWING_X11 */
 }