summaryrefslogtreecommitdiff
path: root/src/search-channel.c
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2012-11-27 15:08:04 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2012-11-27 15:14:42 +0000
commit6dacd571ae133e9f8ada918e6222b79c932e0788 (patch)
tree29105635689603f977701edde27b193d934f044d /src/search-channel.c
parent0a7fd199e0ce6b1e67fc18cdae023c9ce9b608b4 (diff)
downloadtelepathy-gabble-6dacd571ae133e9f8ada918e6222b79c932e0788.tar.gz
Avoid manually setting WockyNode.ns where sensible.
There's still one case in the Jingle code which seems justifiable.
Diffstat (limited to 'src/search-channel.c')
-rw-r--r--src/search-channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search-channel.c b/src/search-channel.c
index f5deaba5c..8ce5edfd9 100644
--- a/src/search-channel.c
+++ b/src/search-channel.c
@@ -880,8 +880,8 @@ build_extended_query (GabbleSearchChannel *self,
GHashTableIter iter;
gpointer key, value;
- x = wocky_node_add_child_with_content (query, "x", "");
- x->ns = g_quark_from_static_string (NS_X_DATA);
+ x = wocky_node_add_child_ns_q (query, "x",
+ g_quark_from_static_string (NS_X_DATA));
wocky_node_set_attribute (x, "type", "submit");
/* add FORM_TYPE */