summaryrefslogtreecommitdiff
path: root/src/gs-watcher-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-watcher-x11.c')
-rw-r--r--src/gs-watcher-x11.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gs-watcher-x11.c b/src/gs-watcher-x11.c
index d740cfa..c3c8f72 100644
--- a/src/gs-watcher-x11.c
+++ b/src/gs-watcher-x11.c
@@ -357,7 +357,6 @@ static void
set_status (GSWatcher *watcher,
guint status)
{
- gboolean res;
gboolean is_idle;
if (! watcher->priv->active)
@@ -376,7 +375,7 @@ set_status (GSWatcher *watcher,
if (is_idle)
{
- res = _gs_watcher_set_session_idle_notice (watcher, is_idle);
+ _gs_watcher_set_session_idle_notice (watcher, is_idle);
/* queue an activation */
if (watcher->priv->idle_id > 0)
{
@@ -394,8 +393,8 @@ set_status (GSWatcher *watcher,
g_source_remove (watcher->priv->idle_id);
watcher->priv->idle_id = 0;
}
- res = _gs_watcher_set_session_idle (watcher, FALSE);
- res = _gs_watcher_set_session_idle_notice (watcher, FALSE);
+ _gs_watcher_set_session_idle (watcher, FALSE);
+ _gs_watcher_set_session_idle_notice (watcher, FALSE);
}
}