[empathy] call: don't leak the contact



commit bdebda58a42501f6c4c6f8e0692239662827aba1
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Feb 23 14:37:11 2012 +0100

    call: don't leak the contact

 src/empathy-call.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-call.c b/src/empathy-call.c
index 45623fc..207f32f 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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]