[rhythmbox] Revert "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] Revert "don't take the gdk lock before calling g_application_run"
- Date: Sat, 17 Dec 2011 22:31:22 +0000 (UTC)
commit d453444debdfa94875fc2afe6568397e3cb8ef5e
Author: Jonathan Matthew <jonathan d14n org>
Date: Sun Dec 18 08:28:08 2011 +1000
Revert "don't take the gdk lock before calling g_application_run"
This reverts commit d286824228cf5cd2e13da2a0449391f44af86eb2.
We don't build with glib 2.32 yet so breaking things to work with it
doesn't seem like a good idea.
shell/main.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/shell/main.c b/shell/main.c
index de5bc77..6c6db54 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -86,6 +86,7 @@ main (int argc, char **argv)
/* TODO: kill this function */
rb_threads_init ();
+ gdk_threads_enter ();
new_argc = argc;
new_argv = argv;
@@ -95,5 +96,7 @@ 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]