[telepathy-gabble/telepathy-gabble-0.8] Hoist definition of StreamCreationData

Will Thompson will.thompson at collabora.co.uk
Wed Aug 19 08:38:53 PDT 2009


This will be needed to refer to it within _dispose()
---
 src/media-channel.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/media-channel.c b/src/media-channel.c
index b1106c5..d388f3b 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -139,6 +139,14 @@ const TpPropertySignature channel_property_signatures[NUM_CHAN_PROPS] = {
       { "gtalk-p2p-relay-token",  G_TYPE_STRING }
 };
 
+typedef struct {
+    GabbleMediaChannel *self;
+    GabbleJingleContent *content;
+    gulong removed_id;
+    gchar *name;
+    const gchar *nat_traversal;
+} StreamCreationData;
+
 struct _delayed_request_streams_ctx {
   GabbleMediaChannel *chan;
   gulong caps_disco_id;
@@ -2629,14 +2637,6 @@ construct_stream (GabbleMediaChannel *chan,
   g_free (object_path);
 }
 
-typedef struct {
-    GabbleMediaChannel *self;
-    GabbleJingleContent *content;
-    gulong removed_id;
-    gchar *name;
-    const gchar *nat_traversal;
-} StreamCreationData;
-
 static void
 stream_creation_data_cancel (gpointer p,
                              gpointer unused)
-- 
1.5.6.5




More information about the telepathy-commits mailing list