diff options
-rw-r--r-- | libempathy/empathy-dispatcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index 711d7c854..337cb8dac 100644 --- a/libempathy/empathy-dispatcher.c +++ b/libempathy/empathy-dispatcher.c @@ -275,7 +275,7 @@ dispatcher_channel_invalidated_cb (TpProxy *proxy, guint domain, gint code, ConnectionData *cd; const gchar *object_path; - g_object_get (G_OBJECT (proxy), "connection", &connection, NULL); + connection = tp_channel_borrow_connection (TP_CHANNEL (proxy)); cd = g_hash_table_lookup (priv->connections, connection); /* Connection itself invalidated? */ |