[gnome-screensaver] Don't use the GDK lock



commit d68819e7e3fd20fb91ce0eb135b853380aa76268
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Aug 1 10:33:58 2012 +0200

    Don't use the GDK lock
    
    We don't call gdk_threads_init anyway.

 src/gs-lock-plug.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c
index 1725fc2..14a4a70 100644
--- a/src/gs-lock-plug.c
+++ b/src/gs-lock-plug.c
@@ -469,10 +469,7 @@ gs_lock_plug_run (GSLockPlug *plug)
 
         ri.loop = g_main_loop_new (NULL, FALSE);
 
-        GDK_THREADS_LEAVE ();
         g_main_loop_run (ri.loop);
-        GDK_THREADS_ENTER ();
-
         g_main_loop_unref (ri.loop);
 
         ri.loop = NULL;



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