summaryrefslogtreecommitdiff
path: root/src/olpc-activity.c
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-07-25 14:44:24 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-07-25 14:45:05 +0100
commit8075e04490d656b3da9bc651497338cfb7adc94b (patch)
tree6386a72eb5bb2c9269a9fa6d5e5ab006f3e2c10d /src/olpc-activity.c
parentbfcb1a34dcd0c7b2b2e43e4610c6ddebf26a747a (diff)
downloadtelepathy-salut-8075e04490d656b3da9bc651497338cfb7adc94b.tar.gz
namespaces: add …/activity-properties constant
This lets the thing build with --enable-olpc. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src/olpc-activity.c')
-rw-r--r--src/olpc-activity.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/olpc-activity.c b/src/olpc-activity.c
index 6aacdba2..98d33aef 100644
--- a/src/olpc-activity.c
+++ b/src/olpc-activity.c
@@ -29,6 +29,7 @@
#include "olpc-activity.h"
#include "muc-manager.h"
#include "util.h"
+#include "namespaces.h"
#include "signals-marshal.h"
@@ -316,12 +317,12 @@ send_properties_change_msg (SalutOlpcActivity *self,
WOCKY_STANZA_SUB_TYPE_GROUPCHAT,
self->connection->name, muc_name,
WOCKY_NODE_START, "properties",
- WOCKY_NODE_XMLNS, GIBBER_TELEPATHY_NS_OLPC_ACTIVITY_PROPS,
+ WOCKY_NODE_XMLNS, NS_OLPC_ACTIVITY_PROPS,
WOCKY_NODE_END, NULL);
top_node = wocky_stanza_get_top_node (stanza);
properties_node = wocky_node_get_child_ns (top_node, "properties",
- GIBBER_TELEPATHY_NS_OLPC_ACTIVITY_PROPS);
+ NS_OLPC_ACTIVITY_PROPS);
salut_wocky_node_add_children_from_properties (properties_node,
properties, "property");
@@ -620,7 +621,7 @@ salut_olpc_activity_revoke_invitations (SalutOlpcActivity *self)
WOCKY_STANZA_SUB_TYPE_NONE,
self->connection->name, NULL,
WOCKY_NODE_START, "uninvite",
- WOCKY_NODE_XMLNS, GIBBER_TELEPATHY_NS_OLPC_ACTIVITY_PROPS,
+ WOCKY_NODE_XMLNS, NS_OLPC_ACTIVITY_PROPS,
WOCKY_NODE_ATTRIBUTE, "room", tp_handle_inspect (room_repo,
self->room),
WOCKY_NODE_ATTRIBUTE, "id", self->id,
@@ -673,7 +674,7 @@ salut_olpc_activity_augment_invitation (SalutOlpcActivity *self,
properties = salut_olpc_activity_create_properties_table (self);
properties_node = wocky_node_add_child_ns (invite_node, "properties",
- GIBBER_TELEPATHY_NS_OLPC_ACTIVITY_PROPS);
+ NS_OLPC_ACTIVITY_PROPS);
/* add the activity id */
activity_id_val = g_slice_new0 (GValue);