aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-call.c b/src/empathy-call.c
index 45623fcd2..207f32f25 100644
--- a/src/empathy-call.c
+++ b/src/empathy-call.c
@@ -119,7 +119,7 @@ new_call_handler_cb (EmpathyCallFactory *factory,
DEBUG ("Show the call window");
- g_object_get (handler, "target-contact", &contact, NULL);
+ contact = empathy_call_handler_get_contact (handler);
window = g_hash_table_lookup (call_windows, contact);