soc.2009.telepathy: 7535b377: Unref channel proxy in text_channel_inva...
sttwister at soc.pidgin.im
sttwister at soc.pidgin.im
Thu Jun 25 18:15:50 EDT 2009
-----------------------------------------------------------------
Revision: 7535b377e7229d82a7f3cdf43482d308ed607a23
Ancestor: f5ff5fa68dfa9abaf2ce751189d3e1bbe9464c0b
Author: sttwister at soc.pidgin.im
Date: 2009-06-25T16:22:38
Branch: im.pidgin.soc.2009.telepathy
URL: http://d.pidgin.im/viewmtn/revision/info/7535b377e7229d82a7f3cdf43482d308ed607a23
Modified files:
libpurple/protocols/telepathy/telepathy.c
libpurple/protocols/telepathy/telepathy_channel_text.c
ChangeLog:
Unref channel proxy in text_channel_invalidated_cb()
-------------- next part --------------
============================================================
--- libpurple/protocols/telepathy/telepathy.c 59ce52ea2d7bf05b9b3e8eae0f415b14f86770b6
+++ libpurple/protocols/telepathy/telepathy.c 9c25b93258227143a7dd197f5b41cc17557dc07f
@@ -413,7 +413,7 @@ telepathy_send_typing (PurpleConnection
if (!tp_proxy_has_interface_by_id (channel,
TP_IFACE_QUARK_CHANNEL_INTERFACE_CHAT_STATE))
{
- return;
+ return 0;
}
purple_debug_info("telepathy", "Sending typing notification to %s\n", name);
============================================================
--- libpurple/protocols/telepathy/telepathy_channel_text.c 088ded9c76fda27a251afd45e0b7c373623a0afb
+++ libpurple/protocols/telepathy/telepathy_channel_text.c 88b1a01fd4d38c86a80614d9200dc16ae4b5a3ae
@@ -300,6 +300,8 @@ text_channel_invalidated_cb (TpProxy *se
{
tp_channel->channel = NULL;
}
+
+ g_object_unref(self);
}
void
More information about the Commits
mailing list