[Telepathy-commits] [telepathy-glib/master] echo2 CM: use message mixin methods, not text mixin, for respawn logic
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Dec 18 10:41:51 PST 2008
---
examples/cm/echo-message-parts/chan.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/cm/echo-message-parts/chan.c b/examples/cm/echo-message-parts/chan.c
index 3742016..eeae2f3 100644
--- a/examples/cm/echo-message-parts/chan.c
+++ b/examples/cm/echo-message-parts/chan.c
@@ -482,7 +482,7 @@ example_echo_2_channel_close (ExampleEcho2Channel *self)
* to the contact who sent us those messages (if it isn't already),
* and the messages must be marked as having been rescued so they
* don't get logged twice. */
- if (tp_text_mixin_has_pending_messages (object, &first_sender))
+ if (tp_message_mixin_has_pending_messages (object, &first_sender))
{
if (self->priv->initiator != first_sender)
{
@@ -499,7 +499,7 @@ example_echo_2_channel_close (ExampleEcho2Channel *self)
tp_handle_unref (contact_repo, old_initiator);
}
- tp_text_mixin_set_rescued (object);
+ tp_message_mixin_set_rescued (object);
}
else
{
--
1.5.6.5
More information about the Telepathy-commits
mailing list