]> www.fi.muni.cz Git - evince.git/commitdiff
[shell] Remove fontconfig lock/unlock when showing the main window
authorCarlos Garcia Campos <carlosgc@gnome.org>
Fri, 7 May 2010 08:55:49 +0000 (10:55 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Fri, 7 May 2010 08:55:49 +0000 (10:55 +0200)
Hopefully it's not needed anymore since there isn't loading text
in the view.

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 */
 }