[Telepathy-commits] [telepathy-salut/master] Coding style
Alban Crequy
alban.crequy at collabora.co.uk
Tue Nov 25 03:59:09 PST 2008
20080424104123-a41c0-30b5dacebf254a3225fb280e8f826cf5c1b16f6f.gz
---
src/salut-tubes-channel.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/salut-tubes-channel.c b/src/salut-tubes-channel.c
index b784ab7..5b17752 100644
--- a/src/salut-tubes-channel.c
+++ b/src/salut-tubes-channel.c
@@ -387,7 +387,7 @@ message_stanza_callback (SalutXmppConnectionManager *mgr,
SalutContact *contact,
gpointer user_data)
{
- printf("Message stanza received, but the code to handle it is not written "
+ DEBUG ("Message stanza received, but the code to handle it is not written "
"yet !!\n"); /* TODO */
}
@@ -473,8 +473,8 @@ connection_disconnected (SalutTubesChannel *self)
G_CALLBACK (xmpp_connection_manager_new_connection_cb), self);
/* If some tubes in remote-pending state, reopen the xmpp connection?
- if (g_queue_get_length(priv->out_queue) > 0) {
- _setup_connection(self);
+ if (g_queue_get_length (priv->out_queue) > 0) {
+ _setup_connection (self);
}
*/
}
@@ -1458,7 +1458,7 @@ salut_tubes_channel_offer_d_bus_tube (TpSvcChannelTypeTubes *iface,
base = (TpBaseConnection*) priv->conn;
if (priv->handle_type == TP_HANDLE_TYPE_ROOM
- && !tp_handle_set_is_member(TP_GROUP_MIXIN(self->muc)->members,
+ && !tp_handle_set_is_member (TP_GROUP_MIXIN (self->muc)->members,
priv->self_handle))
{
GError error = { TP_ERRORS, TP_ERROR_NOT_AVAILABLE,
@@ -1771,7 +1771,7 @@ _send_channel_iq_tube (gpointer key,
SalutTubesChannelPrivate *priv = SALUT_TUBES_CHANNEL_GET_PRIVATE (self);
SalutTubeIface *tube = (SalutTubeIface *) value;
- guint tube_id = GPOINTER_TO_UINT(key);
+ guint tube_id = GPOINTER_TO_UINT (key);
TpHandle initiator;
gchar *service;
GHashTable *parameters;
@@ -1891,7 +1891,7 @@ salut_tubes_channel_offer_stream_tube (TpSvcChannelTypeTubes *iface,
base = (TpBaseConnection*) priv->conn;
if (priv->handle_type == TP_HANDLE_TYPE_ROOM
- && !tp_handle_set_is_member(TP_GROUP_MIXIN(self->muc)->members,
+ && !tp_handle_set_is_member (TP_GROUP_MIXIN (self->muc)->members,
priv->self_handle))
{
GError error = { TP_ERRORS, TP_ERROR_NOT_AVAILABLE,
--
1.5.6.5
More information about the Telepathy-commits
mailing list