[evince] [shell] Remove fontconfig lock/unlock when showing the main window



commit 698e8119ca94fd58c3604d4b09b15026dc2415ab
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Fri May 7 10:55:49 2010 +0200

    [shell] Remove fontconfig lock/unlock when showing the main window
    
    Hopefully it's not needed anymore since there isn't loading text
    in the view.

 shell/ev-application.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/shell/ev-application.c b/shell/ev-application.c
index 497ce21..d6df75d 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -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 */
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]