aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-25 11:55:49 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-25 11:55:49 +0000
commite1da450841a9a01883422dc1ff249ef3863eaee8 (patch)
treec50835dbb98a73548b5edde7a0996eeaf186ad3b
parentd6d917b02d2eff0855446d35da278a6f701a05c5 (diff)
downloadayatana-indicator-sound-e1da450841a9a01883422dc1ff249ef3863eaee8.tar.gz
ayatana-indicator-sound-e1da450841a9a01883422dc1ff249ef3863eaee8.tar.bz2
ayatana-indicator-sound-e1da450841a9a01883422dc1ff249ef3863eaee8.zip
more visibility on possible errors
-rw-r--r--src/sound-service-dbus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sound-service-dbus.c b/src/sound-service-dbus.c
index 27de893..dc1fd94 100644
--- a/src/sound-service-dbus.c
+++ b/src/sound-service-dbus.c
@@ -239,7 +239,8 @@ sound_service_dbus_update_sound_state (SoundServiceDbus* self,
if (priv->connection == NULL ||
g_dbus_connection_is_closed (priv->connection) == TRUE){
- g_critical ("sound_service_dbus_update_sound_state - connection no good !!");
+ g_critical ("sound_service_dbus_update_sound_state - connection is %s !!",
+ priv->connection == NULL? "NULL" : "closed");
return;
}