diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-06-29 23:14:25 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-08-11 15:43:56 +0800 |
commit | 247b08745627b9189ef93c50a346f2a7b7c52e1c (patch) | |
tree | 2d00e3ad603ba5c66b6353cac18269c0a5369486 /src/empathy.c | |
parent | a3392a992e98b330d9a604a7b539dbed60e6f375 (diff) | |
download | gsoc2013-empathy-247b08745627b9189ef93c50a346f2a7b7c52e1c.tar gsoc2013-empathy-247b08745627b9189ef93c50a346f2a7b7c52e1c.tar.gz gsoc2013-empathy-247b08745627b9189ef93c50a346f2a7b7c52e1c.tar.bz2 gsoc2013-empathy-247b08745627b9189ef93c50a346f2a7b7c52e1c.tar.lz gsoc2013-empathy-247b08745627b9189ef93c50a346f2a7b7c52e1c.tar.xz gsoc2013-empathy-247b08745627b9189ef93c50a346f2a7b7c52e1c.tar.zst gsoc2013-empathy-247b08745627b9189ef93c50a346f2a7b7c52e1c.zip |
Use TpSimpleHandler to handle incoming file transfer (#623139)
Diffstat (limited to 'src/empathy.c')
-rw-r--r-- | src/empathy.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/empathy.c b/src/empathy.c index bb39263bc..aefb934eb 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -538,6 +538,12 @@ main (int argc, char *argv[]) g_signal_connect (ft_factory, "new-incoming-transfer", G_CALLBACK (new_incoming_transfer_cb), NULL); + if (!empathy_ft_factory_register (ft_factory, &error)) + { + g_warning ("Failed to register FileTransfer handler: %s", error->message); + g_error_free (error); + } + /* Location mananger */ #ifdef HAVE_GEOCLUE location_manager = empathy_location_manager_dup_singleton (); |