aboutsummaryrefslogtreecommitdiff
path: root/src/transport-widget.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2012-02-22 11:41:12 -0500
committerPackage Import Robot <package-import@ubuntu.com>2012-02-22 11:41:12 -0500
commit78ef933f9aaa610506943638483a6ba2f936a960 (patch)
tree9f04e17f23f154df06452d3c36bb0f68b2829b06 /src/transport-widget.c
parente49f20c921a9bb4b9232c495b91341a25e4a3bcb (diff)
parent87422f8fa6face6715761ab76aeb04225f5ac235 (diff)
downloadayatana-indicator-sound-78ef933f9aaa610506943638483a6ba2f936a960.tar.gz
ayatana-indicator-sound-78ef933f9aaa610506943638483a6ba2f936a960.tar.bz2
ayatana-indicator-sound-78ef933f9aaa610506943638483a6ba2f936a960.zip
Import upstream version 0.8.2.0
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;
}