[telepathy-gabble/telepathy-gabble-0.8] connection: make get_canonical_room_name non-static

Jonny Lamb jonny.lamb at collabora.co.uk
Mon Dec 7 04:12:58 PST 2009


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 src/connection.c |    6 +++---
 src/connection.h |    2 ++
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/connection.c b/src/connection.c
index ecb48be..46bb4a5 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -3009,8 +3009,8 @@ _gabble_connection_find_conference_server (GabbleConnection *conn)
 }
 
 
-static gchar *
-_gabble_connection_get_canonical_room_name (GabbleConnection *conn,
+gchar *
+gabble_connection_get_canonical_room_name (GabbleConnection *conn,
                                            const gchar *name)
 {
   const gchar *server;
@@ -3113,7 +3113,7 @@ room_verify_batch_new (GabbleConnection *conn,
       batch->contexts[i].index = i;
       batch->contexts[i].batch = batch;
 
-      qualified_name = _gabble_connection_get_canonical_room_name (conn, name);
+      qualified_name = gabble_connection_get_canonical_room_name (conn, name);
 
       if (!qualified_name)
         {
diff --git a/src/connection.h b/src/connection.h
index f7100e5..17f769e 100644
--- a/src/connection.h
+++ b/src/connection.h
@@ -239,6 +239,8 @@ void _gabble_connection_send_iq_error (GabbleConnection *conn,
     LmMessage *message, GabbleXmppError error, const gchar *errmsg);
 
 const char *_gabble_connection_find_conference_server (GabbleConnection *);
+gchar *gabble_connection_get_canonical_room_name (GabbleConnection *conn,
+    const gchar *jid);
 gboolean _gabble_connection_signal_own_presence (GabbleConnection *,
     GError **);
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list