[rhythmbox] visualizer: remove more recursive clutter locking
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] visualizer: remove more recursive clutter locking
- Date: Sun, 1 Jul 2012 10:24:43 +0000 (UTC)
commit 5addcebf92f6093937374a837f990e61d0a09360
Author: Jonathan Matthew <jonathan d14n org>
Date: Sun Jul 1 20:24:21 2012 +1000
visualizer: remove more recursive clutter locking
plugins/visualizer/rb-visualizer-fullscreen.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/plugins/visualizer/rb-visualizer-fullscreen.c b/plugins/visualizer/rb-visualizer-fullscreen.c
index 460d738..99f2ef3 100644
--- a/plugins/visualizer/rb-visualizer-fullscreen.c
+++ b/plugins/visualizer/rb-visualizer-fullscreen.c
@@ -437,19 +437,25 @@ create_button (const char *button_style, const char *icon_style, const char *ico
static void
next_clicked_cb (MxButton *button, RBShellPlayer *player)
{
+ clutter_threads_leave ();
rb_shell_player_do_next (player, NULL);
+ clutter_threads_enter ();
}
static void
prev_clicked_cb (MxButton *button, RBShellPlayer *player)
{
+ clutter_threads_leave ();
rb_shell_player_do_previous (player, NULL);
+ clutter_threads_enter ();
}
static void
playpause_clicked_cb (MxButton *button, RBShellPlayer *player)
{
+ clutter_threads_leave ();
rb_shell_player_playpause (player, FALSE, NULL);
+ clutter_threads_enter ();
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]