From 7034036ebfc0c4a9f2e9e47bced53ae61c3719b8 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 16 Oct 2013 09:50:25 -0500 Subject: 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 --- src/service.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') 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); -- cgit v1.2.3