aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-10-16 09:50:25 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-10-16 09:50:25 -0500
commit7034036ebfc0c4a9f2e9e47bced53ae61c3719b8 (patch)
tree3e2c04d451891d14256058678eea325533d09cf5
parentd5c421bb3c13417865fd2c60221433cfb09af223 (diff)
downloadayatana-indicator-datetime-7034036ebfc0c4a9f2e9e47bced53ae61c3719b8.tar.gz
ayatana-indicator-datetime-7034036ebfc0c4a9f2e9e47bced53ae61c3719b8.tar.bz2
ayatana-indicator-datetime-7034036ebfc0c4a9f2e9e47bced53ae61c3719b8.zip
don't crash with a g_error() in on_bus_lost(). There's a valid case for this happening when the greeter's bus is force-shutdown
-rw-r--r--src/service.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/service.c b/src/service.c
index a82e310..c283cf6 100644
--- a/src/service.c
+++ b/src/service.c
@@ -1815,9 +1815,6 @@ 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);