summaryrefslogtreecommitdiff
path: root/src/muc-channel.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-01-07 16:02:16 +0000
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-01-08 11:43:25 +0000
commit174d89b56330e546116c5294e221fea736de4df9 (patch)
tree32f2fb9987d229886e3592c897f5720b6fdb2174 /src/muc-channel.c
parent200c2b91f40ea3859d9402c7e2d7d35f9e0433e3 (diff)
downloadtelepathy-gabble-174d89b56330e546116c5294e221fea736de4df9.tar.gz
Set object GValues with set_object
Diffstat (limited to 'src/muc-channel.c')
-rw-r--r--src/muc-channel.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/muc-channel.c b/src/muc-channel.c
index 88b07e3b1..82ec4ca6b 100644
--- a/src/muc-channel.c
+++ b/src/muc-channel.c
@@ -922,10 +922,7 @@ gabble_muc_channel_get_property (GObject *object,
g_value_set_string (value, priv->self_jid->str);
break;
case PROP_TUBE:
- if (priv->tube)
- g_value_set_object (value, priv->tube);
- else
- g_value_set_pointer (value, NULL);
+ g_value_set_object (value, priv->tube);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);