[gnote] Remove gdk locks around g_application_run



commit 61450ed638395abba831bfa1d6d9d4ebe7652861
Author: Aurimas Äernius <aurisc4 gmail com>
Date:   Sun Mar 11 20:49:31 2012 +0200

    Remove gdk locks around g_application_run
    
    Not required and causes deadlock on GTK+ 3.4.

 src/gnote.cpp |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/gnote.cpp b/src/gnote.cpp
index 0bd097b..c0b0a81 100644
--- a/src/gnote.cpp
+++ b/src/gnote.cpp
@@ -160,9 +160,7 @@ namespace gnote {
     }
     else {
       m_app = gnote_app_new();
-      gdk_threads_enter();
       g_application_run(G_APPLICATION(m_app), argc, argv);
-      gdk_threads_leave();
       g_object_unref(m_app);
       m_app = NULL;
     }



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