aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);