summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--telepathy-glib/run.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/telepathy-glib/run.c b/telepathy-glib/run.c
index 7ae6e8236..c3df19037 100644
--- a/telepathy-glib/run.c
+++ b/telepathy-glib/run.c
@@ -84,7 +84,7 @@ kill_connection_manager (gpointer data)
}
timeout_id = 0;
- return FALSE;
+ return G_SOURCE_REMOVE;
}
static void
@@ -98,6 +98,7 @@ new_connection (TpBaseConnectionManager *conn,
if (0 != timeout_id)
{
g_source_remove (timeout_id);
+ timeout_id = 0;
}
}