summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2012-02-29 20:35:39 (GMT)
committerJonny Lamb <jonny.lamb@collabora.co.uk>2012-02-29 20:35:39 (GMT)
commit5a78e81a093ed320f1a3ed4a3018fefd60bc6f46 (patch)
treed053da2762dc53078b41a2fd1d5a12401498e03b
parent86edee63407e092fa9f9996fa6b953ab2545e89f (diff)
downloadtelepathy-salut-5a78e81a093ed320f1a3ed4a3018fefd60bc6f46.tar.gz
telepathy-salut-5a78e81a093ed320f1a3ed4a3018fefd60bc6f46.tar.xz
muc-channel: use one property pair per line with g_object_get
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--src/muc-channel.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/muc-channel.c b/src/muc-channel.c
index 427ccef..bb108c4 100644
--- a/src/muc-channel.c
+++ b/src/muc-channel.c
@@ -271,7 +271,9 @@ salut_muc_channel_constructed (GObject *obj)
TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_SUCCESSES,
supported_content_types);
- g_object_get (base_conn, "self", &(priv->self), NULL);
+ g_object_get (base_conn,
+ "self", &(priv->self),
+ NULL);
g_object_unref (priv->self);
g_assert (priv->self != NULL);
@@ -443,8 +445,9 @@ salut_muc_channel_send_invitation (SalutMucChannel *self,
WockyPorter *porter = conn->porter;
SendInviteData *data;
- g_object_get (G_OBJECT (conn), "contact-manager",
- &contact_manager, NULL);
+ g_object_get (G_OBJECT (conn),
+ "contact-manager", &contact_manager,
+ NULL);
g_assert (contact_manager != NULL);
contact = salut_contact_manager_get_contact (contact_manager, handle);
@@ -822,8 +825,9 @@ salut_muc_channel_add_members (SalutMucChannel *self,
empty = tp_intset_new ();
changes = tp_intset_new ();
- g_object_get (G_OBJECT (base_conn), "contact-manager",
- &contact_mgr, NULL);
+ g_object_get (G_OBJECT (base_conn),
+ "contact-manager", &contact_mgr,
+ NULL);
g_assert (contact_mgr != NULL);
for (i = 0; i < members->len; i++)