summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-04-02 19:29:16 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-04-02 19:29:16 +0000
commit7c365221ec9f9893d139d8ee8c6881e55a59d4f1 (patch)
treeadf148038b7a065f8fdcff4ba8594407dbcbccc2 /examples
parentea72e7036cfb1d5ab6c37429942c47b70f50560b (diff)
Echo example: terminate arguments to tp_text_mixin_set_message_types correctly
Diffstat (limited to 'examples')
-rw-r--r--examples/cm/echo/chan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/cm/echo/chan.c b/examples/cm/echo/chan.c
index e7ab8a33f..3c366670e 100644
--- a/examples/cm/echo/chan.c
+++ b/examples/cm/echo/chan.c
@@ -82,7 +82,8 @@ constructor (GType type,
tp_text_mixin_set_message_types (object,
TP_CHANNEL_TEXT_MESSAGE_TYPE_NORMAL,
TP_CHANNEL_TEXT_MESSAGE_TYPE_ACTION,
- TP_CHANNEL_TEXT_MESSAGE_TYPE_NOTICE);
+ TP_CHANNEL_TEXT_MESSAGE_TYPE_NOTICE,
+ G_MAXUINT);
return object;
}