diff options
Diffstat (limited to 'libempathy/empathy-call-factory.c')
-rw-r--r-- | libempathy/empathy-call-factory.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/libempathy/empathy-call-factory.c b/libempathy/empathy-call-factory.c index ab32d06ad..54377ad7a 100644 --- a/libempathy/empathy-call-factory.c +++ b/libempathy/empathy-call-factory.c @@ -107,12 +107,6 @@ empathy_call_factory_init (EmpathyCallFactory *obj) "org.freedesktop.Telepathy.Channel.Interface.MediaSignalling/gtalk-p2p", NULL); - if (!tp_base_client_register (priv->handler, &error)) - { - g_warning ("Failed to register Handler: %s", error->message); - g_error_free (error); - } - g_object_unref (dbus); } @@ -306,3 +300,12 @@ handle_channels_cb (TpSimpleHandler *handler, tp_handle_channels_context_accept (context); } + +gboolean +empathy_call_factory_register (EmpathyCallFactory *self, + GError **error) +{ + EmpathyCallFactoryPriv *priv = GET_PRIV (self); + + return tp_base_client_register (priv->handler, error); +} |