aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-10-04 09:29:29 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-10-04 09:29:29 -0500
commit4a65017c75fdd77cb24ada70a2c817c28c2cfa01 (patch)
treed7de86faa4295dad1e4029560683de9a3edd0cce /src
parent8b4e75ea9ce0a1f8c8be445dbde7de78a62b3caa (diff)
downloadayatana-indicator-datetime-4a65017c75fdd77cb24ada70a2c817c28c2cfa01.tar.gz
ayatana-indicator-datetime-4a65017c75fdd77cb24ada70a2c817c28c2cfa01.tar.bz2
ayatana-indicator-datetime-4a65017c75fdd77cb24ada70a2c817c28c2cfa01.zip
start tracking failure-to-connect-to-bus on indicator-datetime
Diffstat (limited to 'src')
-rw-r--r--src/service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 2528f41..0be73f5 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);