]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-application.c
Show main window and load document with the font-config lock held.
[evince.git] / shell / ev-application.c
index f669c140965745753cc108e475e8e98ccdfb6040..98bbd3e3e8dc44ec02ffcd6275eee476ba58defd 100644 (file)
@@ -366,7 +366,9 @@ ev_application_open_uri_at_dest (EvApplication  *application,
           we can restore window size without flickering */     
        ev_window_open_uri (new_window, uri, dest, mode, unlink_temp_file);
 
+       ev_document_fc_mutex_lock ();
        gtk_widget_show (GTK_WIDGET (new_window));
+       ev_document_fc_mutex_unlock ();
 
        gtk_window_present_with_time (GTK_WINDOW (new_window),
                                      timestamp);