diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-07 14:54:01 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-17 09:53:49 +0100 |
commit | 04edfb3dbbdf9a2a4ac6cf2ecafcbd88044ee094 (patch) | |
tree | de34834afdea50fada419c2c622c4435084d9ae3 /libempathy/empathy-ft-factory.c | |
parent | 23d90f884b28cabd3b9b986998c118314a9238f9 (diff) | |
download | empathy-04edfb3dbbdf9a2a4ac6cf2ecafcbd88044ee094.tar.gz |
define constants for handler bus name
It's more convenient and safe than hardcoding them everywhere.
Diffstat (limited to 'libempathy/empathy-ft-factory.c')
-rw-r--r-- | libempathy/empathy-ft-factory.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-ft-factory.c b/libempathy/empathy-ft-factory.c index 398474719..5fb238a2b 100644 --- a/libempathy/empathy-ft-factory.c +++ b/libempathy/empathy-ft-factory.c @@ -28,6 +28,7 @@ #include "empathy-ft-factory.h" #include "empathy-ft-handler.h" #include "empathy-marshal.h" +#include "empathy-request-util.h" #include "empathy-utils.h" /** @@ -219,7 +220,7 @@ empathy_ft_factory_init (EmpathyFTFactory *self) } priv->handler = tp_simple_handler_new (dbus, FALSE, FALSE, - "Empathy.FileTransfer", FALSE, handle_channels_cb, self, NULL); + EMPATHY_FT_BUS_NAME_SUFFIX, FALSE, handle_channels_cb, self, NULL); tp_base_client_take_handler_filter (priv->handler, tp_asv_new ( TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING, |