aboutsummaryrefslogtreecommitdiff
path: root/src/play-button.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-07-13 14:06:55 +0100
committerConor Curran <conor.curran@canonical.com>2010-07-13 14:06:55 +0100
commitec287ed34db17df23ab16d9199fbbb48bd6b246f (patch)
treeb7dc7479fcc01c36c1c3e703313ef7fdda1c57af /src/play-button.c
parentd8253fc0cfe667316e2e5f033bcbfba4c3044297 (diff)
downloadayatana-indicator-sound-ec287ed34db17df23ab16d9199fbbb48bd6b246f.tar.gz
ayatana-indicator-sound-ec287ed34db17df23ab16d9199fbbb48bd6b246f.tar.bz2
ayatana-indicator-sound-ec287ed34db17df23ab16d9199fbbb48bd6b246f.zip
fixed silly previous problem
Diffstat (limited to 'src/play-button.c')
-rw-r--r--src/play-button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/play-button.c b/src/play-button.c
index d6d243c..f712209 100644
--- a/src/play-button.c
+++ b/src/play-button.c
@@ -361,7 +361,7 @@ determine_button_event(GtkWidget* button, GdkEventButton* event)
{
g_debug("event x coordinate = %f", event->x);
g_debug("event y coordinate = %f", event->y);
- gint result = 0;
+ gint result = -1;
// For now very simple rectangular collision detection
if(event->x > 55 && event->x < 95
&& event->y > 22 && event->y < 46){