[pinpoint] Skip play/pause logic without a speaker screen
- From: Ãyvind KolÃs <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pinpoint] Skip play/pause logic without a speaker screen
- Date: Sun, 18 Mar 2012 00:43:15 +0000 (UTC)
commit ba1e395fb1f95e82b8a45374390cf42403064497
Author: Antonio Terceiro <terceiro softwarelivre org>
Date: Sat Mar 17 16:39:41 2012 -0300
Skip play/pause logic without a speaker screen
pp-clutter.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pp-clutter.c b/pp-clutter.c
index 2789bb1..4d1f22f 100644
--- a/pp-clutter.c
+++ b/pp-clutter.c
@@ -512,6 +512,9 @@ play_pause (ClutterActor *actor,
gpointer data)
{
ClutterRenderer *renderer = CLUTTER_RENDERER (data);
+ if (!renderer->speaker_screen) {
+ return TRUE;
+ }
if (renderer->timer_paused)
{
g_timer_continue (renderer->timer);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]