[Telepathy-commits] [telepathy-salut/master] Removed NewConnectionData struct and its references.

Jonny Lamb jonny.lamb at collabora.co.uk
Fri Nov 21 03:46:09 PST 2008


20080721200405-8ed0e-2b6aa74fa8111819f309dcaacc87a15924dcde89.gz
---
 src/salut-file-channel.c |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/src/salut-file-channel.c b/src/salut-file-channel.c
index 15b3fa2..24cc40f 100644
--- a/src/salut-file-channel.c
+++ b/src/salut-file-channel.c
@@ -808,20 +808,13 @@ send_file_offer (SalutFileChannel *self)
   gibber_file_transfer_offer (ft);
 }
 
-/* passed as user_data to the callbacl for the "new-connection" signal
- * emitted by the SalutXmppConnectionManager */
-typedef struct {
-  SalutFileChannel *self;
-  guint id;
-} NewConnectionData;
-
 static void
 xmpp_connection_manager_new_connection_cb (SalutXmppConnectionManager *mgr,
                                            GibberXmppConnection *connection,
                                            SalutContact *contact,
                                            gpointer user_data)
 {
-  NewConnectionData *data = user_data;
+  SalutFileChannel *channel = user_data;
 
   data->self->priv->xmpp_connection = g_object_ref (connection);
   g_signal_handlers_disconnect_by_func (mgr,
-- 
1.5.6.5




More information about the Telepathy-commits mailing list