aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-connection-managers.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-connection-managers.c')
-rw-r--r--libempathy/empathy-connection-managers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-connection-managers.c b/libempathy/empathy-connection-managers.c
index 150d6a43c..587a463a8 100644
--- a/libempathy/empathy-connection-managers.c
+++ b/libempathy/empathy-connection-managers.c
@@ -250,12 +250,14 @@ empathy_connection_managers_listed_cb (TpConnectionManager * const *cms,
}
out:
+ g_object_ref (weak_object);
if (!priv->ready)
{
priv->ready = TRUE;
g_object_notify (weak_object, "ready");
}
g_signal_emit (weak_object, signals[UPDATED], 0);
+ g_object_unref (weak_object);
}
void