summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-09-15 18:40:40 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2011-10-12 10:51:13 +0100
commitaff2d8453d577020658ce47d06f07864f6194b1d (patch)
tree87ee83a819873ec0ea9c5e585b401b092e860552
parent12e4a9ac245617b43f3fbd3e69ad55ddb1a88fcd (diff)
MUC: ref properties_being_updated
-rw-r--r--src/muc-channel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/muc-channel.c b/src/muc-channel.c
index a2fddb18e..409119939 100644
--- a/src/muc-channel.c
+++ b/src/muc-channel.c
@@ -3084,7 +3084,7 @@ gabble_muc_channel_update_configuration_async (
request_config_form_reply_cb, result);
g_object_unref (stanza);
- priv->properties_being_updated = validated_properties;
+ priv->properties_being_updated = g_hash_table_ref (validated_properties);
}
gboolean
@@ -3352,7 +3352,7 @@ OUT:
g_simple_async_result_set_from_error (update_result, error);
g_simple_async_result_complete (update_result);
g_object_unref (update_result);
- priv->properties_being_updated = NULL;
+ tp_clear_pointer (&priv->properties_being_updated, g_hash_table_unref);
g_clear_error (&error);
}
@@ -3381,7 +3381,7 @@ request_config_form_submit_reply_cb (
}
g_simple_async_result_complete (update_result);
- priv->properties_being_updated = NULL;
+ tp_clear_pointer (&priv->properties_being_updated, g_hash_table_unref);
/* Get the properties into a consistent state. */
room_properties_update (chan);