aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-10-04 14:57:23 +0000
committerTarmac <Unknown>2013-10-04 14:57:23 +0000
commit0437c2f11953ed86a68e73c0d393f16506840b41 (patch)
tree5e8a6b72bc3974187215252105ef5e7fb3f7f840
parentb444d3f5deb9b7c64a79962148d9d3cec625ba78 (diff)
parent4a65017c75fdd77cb24ada70a2c817c28c2cfa01 (diff)
downloadayatana-indicator-datetime-0437c2f11953ed86a68e73c0d393f16506840b41.tar.gz
ayatana-indicator-datetime-0437c2f11953ed86a68e73c0d393f16506840b41.tar.bz2
ayatana-indicator-datetime-0437c2f11953ed86a68e73c0d393f16506840b41.zip
start tracking failure-to-connect-to-bus errors on indicator-datetime. Fixes: https://bugs.launchpad.net/bugs/1227519.
Approved by PS Jenkins bot, Ted Gould.
-rw-r--r--src/service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index b87d5a6..d50319e 100644
--- a/src/service.c
+++ b/src/service.c
@@ -1726,6 +1726,9 @@ on_name_lost (GDBusConnection * connection G_GNUC_UNUSED,
{
IndicatorDatetimeService * self = INDICATOR_DATETIME_SERVICE (gself);
+ if (connection == NULL)
+ g_error ("Unable to get bus connection to own name '%s'", name);
+
g_debug ("%s %s name lost %s", G_STRLOC, G_STRFUNC, name);
unexport (self);