[telepathy-gabble/master] Move test-suite-only function to clarify comment

Will Thompson will.thompson at collabora.co.uk
Wed May 27 08:23:05 PDT 2009


Putting the definition at the end of the file makes the comment less
misleading, as it made it look like all the following functions were
test-suite-only.
---
 src/jingle-session.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/jingle-session.c b/src/jingle-session.c
index 4130974..53dde13 100644
--- a/src/jingle-session.c
+++ b/src/jingle-session.c
@@ -2003,13 +2003,6 @@ content_ready_cb (GabbleJingleContent *c, gpointer user_data)
   try_session_initiate_or_accept (sess);
 }
 
-/* Only to be used for the test suite */
-void
-gabble_set_jingle_session_timeout (guint ms)
-{
-  session_timeout_time = ms;
-}
-
 void
 gabble_jingle_session_send_held (GabbleJingleSession *sess,
                                  gboolean held)
@@ -2050,3 +2043,10 @@ gabble_jingle_session_get_remote_ringing (GabbleJingleSession *sess)
 
   return sess->priv->remote_ringing;
 }
+
+/* Only to be used for the test suite */
+void
+gabble_set_jingle_session_timeout (guint ms)
+{
+  session_timeout_time = ms;
+}
-- 
1.5.6.5




More information about the telepathy-commits mailing list