diff options
author | Zeeshan Ali <zeenix@collabora.co.uk> | 2018-09-17 22:59:15 +0200 |
---|---|---|
committer | Zeeshan Ali <zeenix@collabora.co.uk> | 2018-09-17 23:01:14 +0200 |
commit | b3a8ab6cc1cafa88eff8dc059190fc27dd0ef33c (patch) | |
tree | 2979bc17ab5a751684e38046e5da4448c662c6b4 | |
parent | bc9876f8c86d288d536107c00fdea30789ee5b28 (diff) | |
download | geoclue-b3a8ab6cc1cafa88eff8dc059190fc27dd0ef33c.tar.gz |
service: Console message on inactivity timeout
-rw-r--r-- | src/gclue-main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gclue-main.c b/src/gclue-main.c index d5a01fe..811666f 100644 --- a/src/gclue-main.c +++ b/src/gclue-main.c @@ -77,6 +77,8 @@ guint inactivity_timeout_id = 0; static gboolean on_inactivity_timeout (gpointer user_data) { + g_message ("Service not used for %d seconds. Shutting down..", + inactivity_timeout); g_main_loop_quit (main_loop); return FALSE; |