[Telepathy-commits] [telepathy-gabble/master] Rename gabble_bytestream_multiple_add_bytestream() to _add_stream_method()

Marco Barisione marco at barisione.org
Tue Jan 6 08:41:33 PST 2009


---
 src/bytestream-factory.c  |    5 +++--
 src/bytestream-multiple.c |    5 ++---
 src/bytestream-multiple.h |    4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/bytestream-factory.c b/src/bytestream-factory.c
index 9a98e22..51ce2dc 100644
--- a/src/bytestream-factory.c
+++ b/src/bytestream-factory.c
@@ -613,7 +613,8 @@ bytestream_factory_iq_si_cb (LmMessageHandler *handler,
     {
       if (multiple)
         {
-          gabble_bytestream_multiple_add_bytestream (GABBLE_BYTESTREAM_MULTIPLE (bytestream), l->data);
+          gabble_bytestream_multiple_add_stream_method (
+              GABBLE_BYTESTREAM_MULTIPLE (bytestream), l->data);
         }
       else
         {
@@ -1361,7 +1362,7 @@ streaminit_get_multiple_bytestream (GabbleBytestreamFactory *self,
                stream_id, NULL, peer_resource,
                GABBLE_BYTESTREAM_STATE_INITIATING));
 
-      gabble_bytestream_multiple_add_bytestream (
+      gabble_bytestream_multiple_add_stream_method (
           GABBLE_BYTESTREAM_MULTIPLE (bytestream),
           lm_message_node_get_value (value));
     }
diff --git a/src/bytestream-multiple.c b/src/bytestream-multiple.c
index 737bbe6..41e623f 100644
--- a/src/bytestream-multiple.c
+++ b/src/bytestream-multiple.c
@@ -595,10 +595,9 @@ bytestream_activate_next (GabbleBytestreamMultiple *self)
  *
  * Add an alternative stream method.
  */
-/* FIXME -> add_stream_method */
 void
-gabble_bytestream_multiple_add_bytestream (GabbleBytestreamMultiple *self,
-                                           const gchar *method)
+gabble_bytestream_multiple_add_stream_method (GabbleBytestreamMultiple *self,
+                                              const gchar *method)
 {
   GabbleBytestreamMultiplePrivate *priv;
 
diff --git a/src/bytestream-multiple.h b/src/bytestream-multiple.h
index 19687e8..76cabd6 100644
--- a/src/bytestream-multiple.h
+++ b/src/bytestream-multiple.h
@@ -66,8 +66,8 @@ GType gabble_bytestream_multiple_get_type (void);
                               GabbleBytestreamMultipleClass))
 
 void
-gabble_bytestream_multiple_add_bytestream (GabbleBytestreamMultiple *self,
-                                           const gchar *method);
+gabble_bytestream_multiple_add_stream_method (GabbleBytestreamMultiple *self,
+    const gchar *method);
 
 G_END_DECLS
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list