aboutsummaryrefslogtreecommitdiff
path: root/src/transport-widget.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2012-02-22 15:59:18 -0500
committerKen VanDine <ken.vandine@canonical.com>2012-02-22 15:59:18 -0500
commit06cfe1241f3a4f09a3910e870b14a8a22182abd2 (patch)
tree647645aae8f73b48bf922a9d2b98347e3598faf6 /src/transport-widget.c
parente6c06c2521abae0991acb1636766a300e66d2e19 (diff)
parent87422f8fa6face6715761ab76aeb04225f5ac235 (diff)
downloadayatana-indicator-sound-06cfe1241f3a4f09a3910e870b14a8a22182abd2.tar.gz
ayatana-indicator-sound-06cfe1241f3a4f09a3910e870b14a8a22182abd2.tar.bz2
ayatana-indicator-sound-06cfe1241f3a4f09a3910e870b14a8a22182abd2.zip
* New upstream release.
- crashed with SIGABRT in pa_cvolume_set (LP: #900117) - Mouse on coverart flushes the sound menu (LP: #927733) - album artwork misaligned and not visible (LP: #933359) - unity-panel-service crashed with SIGSEGV in transport_widget_is_selected (LP: #882109)
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;
}