summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-10-18 12:01:59 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-10-18 12:03:49 +0100
commit65ea6fe997dcf643301a5485fa4a835a7c56d33c (patch)
tree560a21a3d0350ad37316000ebe1de3be8fa73d3a /examples
parentcdbaa935506c33f12de1aa4c4250078b1dcaa529 (diff)
Messages example: advertise and test a non-trivial delivery reporting support flag
It's true, too: every time we fail to deliver a message (i.e. never), we emit a delivery report :-)
Diffstat (limited to 'examples')
-rw-r--r--examples/cm/echo-message-parts/chan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cm/echo-message-parts/chan.c b/examples/cm/echo-message-parts/chan.c
index 8bc3e306..cb470921 100644
--- a/examples/cm/echo-message-parts/chan.c
+++ b/examples/cm/echo-message-parts/chan.c
@@ -175,7 +175,7 @@ constructor (GType type,
(sizeof (types) / sizeof (types[0])), types,
TP_MESSAGE_PART_SUPPORT_FLAG_ONE_ATTACHMENT |
TP_MESSAGE_PART_SUPPORT_FLAG_MULTIPLE_ATTACHMENTS,
- 0, /* aka no TpDeliveryReportingSupportFlags */
+ TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_FAILURES,
content_types);
return object;