diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-02-16 05:30:00 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-04-22 18:21:08 +0800 |
commit | 390f7848a93bbae0c80a37189f301e83ef6c6532 (patch) | |
tree | 12785eb1885aaf0724e3485fa2f8b3b3737a2c50 | |
parent | 155c6bfe659f017a9fda6c99caf71f3c2a63f92b (diff) | |
download | gsoc2013-empathy-390f7848a93bbae0c80a37189f301e83ef6c6532.tar gsoc2013-empathy-390f7848a93bbae0c80a37189f301e83ef6c6532.tar.gz gsoc2013-empathy-390f7848a93bbae0c80a37189f301e83ef6c6532.tar.bz2 gsoc2013-empathy-390f7848a93bbae0c80a37189f301e83ef6c6532.tar.lz gsoc2013-empathy-390f7848a93bbae0c80a37189f301e83ef6c6532.tar.xz gsoc2013-empathy-390f7848a93bbae0c80a37189f301e83ef6c6532.tar.zst gsoc2013-empathy-390f7848a93bbae0c80a37189f301e83ef6c6532.zip |
Remove unused function empathy_dispatcher_call_with_contact().
-rw-r--r-- | libempathy/empathy-dispatcher.c | 27 | ||||
-rw-r--r-- | libempathy/empathy-dispatcher.h | 4 |
2 files changed, 0 insertions, 31 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index fbc78ca7e..ef5bd5d8f 100644 --- a/libempathy/empathy-dispatcher.c +++ b/libempathy/empathy-dispatcher.c @@ -1109,33 +1109,6 @@ dispatcher_request_channel (DispatcherRequestData *request_data) } void -empathy_dispatcher_call_with_contact (EmpathyContact *contact, - EmpathyDispatcherRequestCb *callback, - gpointer user_data) -{ - EmpathyDispatcher *dispatcher = empathy_dispatcher_dup_singleton(); - EmpathyDispatcherPriv *priv = GET_PRIV (dispatcher); - TpConnection *connection; - ConnectionData *cd; - DispatcherRequestData *request_data; - - g_return_if_fail (EMPATHY_IS_CONTACT (contact)); - - connection = empathy_contact_get_connection (contact); - cd = g_hash_table_lookup (priv->connections, connection); - request_data = new_dispatcher_request_data (dispatcher, connection, - TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA, TP_HANDLE_TYPE_NONE, 0, NULL, - contact, callback, user_data); - - cd->outstanding_requests = g_list_prepend - (cd->outstanding_requests, request_data); - - dispatcher_request_channel (request_data); - - g_object_unref (dispatcher); -} - -void empathy_dispatcher_chat_with_contact (EmpathyContact *contact, EmpathyDispatcherRequestCb *callback, gpointer user_data) diff --git a/libempathy/empathy-dispatcher.h b/libempathy/empathy-dispatcher.h index 167393364..fb7c6fe35 100644 --- a/libempathy/empathy-dispatcher.h +++ b/libempathy/empathy-dispatcher.h @@ -65,10 +65,6 @@ void empathy_dispatcher_create_channel (EmpathyDispatcher *dispatcher, TpConnection *connection, GHashTable *request, EmpathyDispatcherRequestCb *callback, gpointer user_data); -/* Requesting 1 to 1 stream media channels */ -void empathy_dispatcher_call_with_contact (EmpathyContact *contact, - EmpathyDispatcherRequestCb *callback, gpointer user_data); - /* Requesting 1 to 1 text channels */ void empathy_dispatcher_chat_with_contact_id (TpConnection *connection, const gchar *contact_id, EmpathyDispatcherRequestCb *callback, |