aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index 99d89e0eb..e4ada9f80 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -414,7 +414,7 @@ empathy_channel_get_account (TpChannel *channel)
MissionControl *mc;
g_object_get (channel, "connection", &connection, NULL);
- mc = empathy_mission_control_new ();
+ mc = empathy_mission_control_dup_singleton ();
account = mission_control_get_account_for_tpconnection (mc, connection, NULL);
g_object_unref (connection);
g_object_unref (mc);