diff options
-rw-r--r-- | src/service.c | 3 |
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); |