/soc/2013/ankitkv/gobjectification: 65a6bfb86d43: Updated libpur...
Ankit Vani
a at nevitus.org
Wed Jun 26 16:01:48 EDT 2013
Changeset: 65a6bfb86d43805757dedc1d7190cad8f42739a2
Author: Ankit Vani <a at nevitus.org>
Date: 2013-06-27 01:26 +0530
Branch: soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/65a6bfb86d43
Description:
Updated libpurple plugins with the API changes
diffstat:
libpurple/plugins/offlinemsg.c | 2 +-
libpurple/plugins/perl/common/Conversation.xs | 10 ++++++++--
2 files changed, 9 insertions(+), 3 deletions(-)
diffs (46 lines):
diff --git a/libpurple/plugins/offlinemsg.c b/libpurple/plugins/offlinemsg.c
--- a/libpurple/plugins/offlinemsg.c
+++ b/libpurple/plugins/offlinemsg.c
@@ -69,7 +69,7 @@ cancel_poune(OfflineMsg *offline)
{
purple_conversation_set_data(offline->conv, "plugin_pack:offlinemsg",
GINT_TO_POINTER(OFFLINE_MSG_NO));
- purple_conversation_send_message(offline->conv, offline->message, 0);
+ purple_conversation_send_with_flags(offline->conv, offline->message, 0);
discard_data(offline);
}
diff --git a/libpurple/plugins/perl/common/Conversation.xs b/libpurple/plugins/perl/common/Conversation.xs
--- a/libpurple/plugins/perl/common/Conversation.xs
+++ b/libpurple/plugins/perl/common/Conversation.xs
@@ -90,6 +90,12 @@ void
purple_conversations_remove(conv)
Purple::Conversation conv
+void
+purple_conversations_update_cache(conv, name, account)
+ Purple::Conversation conv
+ const char * name
+ Purple::Account account
+
Purple::Handle
purple_conversations_get_handle()
@@ -227,7 +233,7 @@ purple_conversation_send(conv, message)
const char *message
void
-purple_conversation_send_message(conv, message, flags)
+purple_conversation_send_with_flags(conv, message, flags)
Purple::Conversation conv
const char *message
Purple::MessageFlags flags
@@ -429,7 +435,7 @@ PPCODE:
g_list_free(t_GL_flags);
gboolean
-purple_chat_conversation_find_user(chat, user)
+purple_chat_conversation_has_user(chat, user)
Purple::ChatConversation chat
const char * user
More information about the Commits
mailing list