]> git.0d.be Git - empathy.git/commitdiff
Remove unused function empathy_dispatcher_call_with_contact().
authorXavier Claessens <xclaesse@gmail.com>
Sun, 15 Feb 2009 21:30:00 +0000 (22:30 +0100)
committerXavier Claessens <xclaesse@gmail.com>
Wed, 22 Apr 2009 10:21:08 +0000 (12:21 +0200)
libempathy/empathy-dispatcher.c
libempathy/empathy-dispatcher.h

index fbc78ca7ebe0863aafd8c566af3fae1fe769eb8d..ef5bd5d8fa5582f4ed7ab66171701b233cd4248c 100644 (file)
@@ -1108,33 +1108,6 @@ dispatcher_request_channel (DispatcherRequestData *request_data)
     request_data, NULL, G_OBJECT (request_data->dispatcher));
 }
 
-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,
index 167393364c548cff88ab2eb3fbc769220913ad9c..fb7c6fe35cef867c6567331ed409bed7b8048bbf 100644 (file)
@@ -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,