From 6bc969461080973c6878f0eb1973fd626f8a9663 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 21 Nov 2008 16:25:11 +0000 Subject: Remove empathy_tp_file_keep_alive hack and connect to "notify::state" in file_channel_create_cb() to unref the object when the FT is done. svn path=/trunk/; revision=1913 --- src/empathy.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/empathy.c b/src/empathy.c index b1ea60018..dc295be6d 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -112,7 +112,6 @@ dispatch_channel_cb (EmpathyDispatcher *dispatcher, ft_manager = empathy_ft_manager_get_default (); tp_file = empathy_tp_file_new (channel); empathy_ft_manager_add_tp_file (ft_manager, tp_file); - empathy_tp_file_keep_alive (tp_file); g_object_unref (tp_file); } } -- cgit v1.2.3