]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-window.c
Use an specific lock for FontConfig. Hopefully it fixes some crashes
[evince.git] / shell / ev-window.c
index 19ad581b3b64ba30b50c73a4845f09407dc366fa..2aaff16108973edb7c8aed0e4c27b455ce5f526b 100644 (file)
@@ -2086,7 +2086,9 @@ ev_window_cmd_file_properties (GtkAction *action, EvWindow *ev_window)
                                              GTK_WINDOW (ev_window));
        }
 
+       ev_document_fc_mutex_lock ();
        gtk_widget_show (ev_window->priv->properties);
+       ev_document_fc_mutex_unlock ();
 }
                                        
 static void