aboutsummaryrefslogtreecommitdiff
path: root/src/transport-widget.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-01-11 14:38:35 -0600
committerKen VanDine <ken.vandine@canonical.com>2011-01-11 14:38:35 -0600
commit13d392dab3f0fcba861bd6607ce17d68990b9228 (patch)
treede176e8a94de984549564aa60a5aa1a20d06cad6 /src/transport-widget.c
parent2565fc2f86a1c81780ca8bcdb1f568b56031fa5a (diff)
downloadayatana-indicator-sound-13d392dab3f0fcba861bd6607ce17d68990b9228.tar.gz
ayatana-indicator-sound-13d392dab3f0fcba861bd6607ce17d68990b9228.tar.bz2
ayatana-indicator-sound-13d392dab3f0fcba861bd6607ce17d68990b9228.zip
Import upstream version 0.5.4
Diffstat (limited to 'src/transport-widget.c')
-rw-r--r--src/transport-widget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport-widget.c b/src/transport-widget.c
index d9c499d..d7f4b75 100644
--- a/src/transport-widget.c
+++ b/src/transport-widget.c
@@ -4,6 +4,7 @@ Copyright 2010 Canonical Ltd.
Authors:
Conor Curran <conor.curran@canonical.com>
Mirco Müller <mirco.mueller@canonical.com>
+ Andrea Cimitan <andrea.cimitan@canonical.com>
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License version 3, as published
@@ -1156,6 +1157,7 @@ static void
draw (GtkWidget* button, cairo_t *cr)
{
g_return_if_fail(IS_TRANSPORT_WIDGET(button));
+ g_return_if_fail( cr != NULL );
TransportWidgetPrivate* priv = TRANSPORT_WIDGET_GET_PRIVATE(button);
cairo_surface_t* surf = NULL;