[empathy: 49/148] Unref the EmpathyFTHandlers



commit d5f0907f1e62c22d225c9899c847b4ce5ad1e137
Author: Cosimo Cecchi <cosimo cecchi collabora co uk>
Date:   Mon May 4 03:06:28 2009 +0200

    Unref the EmpathyFTHandlers
    
    Unref EmpathyFTHandler objects after adding them to the manager.
---
 src/empathy.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/empathy.c b/src/empathy.c
index b086634..d3cc12c 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -421,6 +421,8 @@ new_ft_handler_cb (EmpathyFTFactory *factory,
 
 	ft_manager = empathy_ft_manager_dup_singleton ();
 	empathy_ft_manager_add_handler (ft_manager, handler);
+
+	g_object_unref (handler);
 }
 
 static void



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