diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-22 00:25:11 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-22 00:25:11 +0800 |
commit | 6bc969461080973c6878f0eb1973fd626f8a9663 (patch) | |
tree | eb19a2deef68ff22d8e0e074fa9888fe09937aa2 /src/empathy.c | |
parent | 6c7b2aa5c1581f9e40cfdc38f67fe7f479a745b5 (diff) | |
download | gsoc2013-empathy-6bc969461080973c6878f0eb1973fd626f8a9663.tar gsoc2013-empathy-6bc969461080973c6878f0eb1973fd626f8a9663.tar.gz gsoc2013-empathy-6bc969461080973c6878f0eb1973fd626f8a9663.tar.bz2 gsoc2013-empathy-6bc969461080973c6878f0eb1973fd626f8a9663.tar.lz gsoc2013-empathy-6bc969461080973c6878f0eb1973fd626f8a9663.tar.xz gsoc2013-empathy-6bc969461080973c6878f0eb1973fd626f8a9663.tar.zst gsoc2013-empathy-6bc969461080973c6878f0eb1973fd626f8a9663.zip |
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
Diffstat (limited to 'src/empathy.c')
-rw-r--r-- | src/empathy.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); } } |