[rhythmbox] don't take the gdk lock before calling g_application_run
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] don't take the gdk lock before calling g_application_run
- Date: Sat, 1 Oct 2011 11:24:53 +0000 (UTC)
commit d286824228cf5cd2e13da2a0449391f44af86eb2
Author: Jonathan Matthew <jonathan d14n org>
Date: Sat Oct 1 21:19:43 2011 +1000
don't take the gdk lock before calling g_application_run
GApplication calls g_main_context_iteration now, rather than going
through the gtk wrappers that drop the gdk lock appropriately, so
we just shouldn't hold the lock going in.
shell/main.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/shell/main.c b/shell/main.c
index 6c6db54..de5bc77 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -86,7 +86,6 @@ main (int argc, char **argv)
/* TODO: kill this function */
rb_threads_init ();
- gdk_threads_enter ();
new_argc = argc;
new_argv = argv;
@@ -96,7 +95,5 @@ main (int argc, char **argv)
g_object_unref (shell);
- gdk_threads_leave ();
-
exit (0);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]