aboutsummaryrefslogtreecommitdiff
path: root/src/transport-widget.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2012-02-22 20:04:37 +0000
committerConor Curran <conor.curran@canonical.com>2012-02-22 20:04:37 +0000
commitb7038fe83944c2dc6a8d00222fd8db228d191c40 (patch)
tree8fc5be64f80a0da462972b72e74c175c55b1525a /src/transport-widget.c
parent78837fe1befbc45df6fe4e92ae299ada83ea6c0e (diff)
downloadayatana-indicator-sound-b7038fe83944c2dc6a8d00222fd8db228d191c40.tar.gz
ayatana-indicator-sound-b7038fe83944c2dc6a8d00222fd8db228d191c40.tar.bz2
ayatana-indicator-sound-b7038fe83944c2dc6a8d00222fd8db228d191c40.zip
putting in place more checks for transport-widget and the slider, also fixed some more ui glitches
Diffstat (limited to 'src/transport-widget.c')
-rw-r--r--src/transport-widget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/transport-widget.c b/src/transport-widget.c
index 08e4ba9..09bb302 100644
--- a/src/transport-widget.c
+++ b/src/transport-widget.c
@@ -309,6 +309,7 @@ transport_widget_expose (GtkWidget *button, GdkEventExpose *event)
gboolean
transport_widget_is_selected ( TransportWidget* widget )
{
+ g_return_val_if_fail (IS_TRANSPORT_WIDGET (widget), FALSE);
TransportWidgetPrivate* priv = TRANSPORT_WIDGET_GET_PRIVATE(widget);
return priv->has_focus;
}