pidgin: 3f9eb132: silc: Fix build and update for API chang...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Sun Sep 4 14:56:08 EDT 2011
----------------------------------------------------------------------
Revision: 3f9eb1322506cf55ee52bab2f8ebe27c3edd28c6
Parent: 390ddc55295adb707790d4912b90a4ca7dbd8356
Author: darkrain42 at pidgin.im
Date: 09/04/11 14:45:51
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3f9eb1322506cf55ee52bab2f8ebe27c3edd28c6
Changelog:
silc: Fix build and update for API changes
Changes against parent 390ddc55295adb707790d4912b90a4ca7dbd8356
patched libpurple/protocols/silc/buddy.c
patched libpurple/protocols/silc/silc.c
patched libpurple/protocols/silc/silcpurple.h
-------------- next part --------------
============================================================
--- libpurple/protocols/silc/buddy.c 3f7370a9a9a7617656682f0e21d76bad0e83f470
+++ libpurple/protocols/silc/buddy.c 2f9065820e233bcf1fa920c3f37cc962132e6548
@@ -1396,7 +1396,7 @@ silcpurple_add_buddy_i(PurpleConnection
silc_buffer_free(attrs);
}
-void silcpurple_add_buddy(PurpleConnection *gc, PurpleBuddy *buddy, PurpleGroup *group)
+void silcpurple_add_buddy(PurpleConnection *gc, PurpleBuddy *buddy, PurpleGroup *group, const char *message)
{
/* Don't add if the buddy is already on the list.
*
============================================================
--- libpurple/protocols/silc/silc.c 223ebb9cb5a6948122dfc744ed8405fac4a793b9
+++ libpurple/protocols/silc/silc.c 057b46d51afe4dbc21a1a4d4d516ab6d41212fb3
@@ -2050,6 +2050,7 @@ static PurplePluginProtocolInfo prpl_inf
static PurplePluginProtocolInfo prpl_info =
{
+ sizeof(PurplePluginProtocolInfo), /* struct_size */
OPT_PROTO_CHAT_TOPIC | OPT_PROTO_UNIQUE_CHATNAME |
OPT_PROTO_PASSWORD_OPTIONAL | OPT_PROTO_IM_IMAGE |
OPT_PROTO_SLASH_COMMANDS_NATIVE,
@@ -2117,15 +2118,12 @@ static PurplePluginProtocolInfo prpl_inf
NULL, /* unregister_user */
NULL, /* send_attention */
NULL, /* get_attention_types */
- sizeof(PurplePluginProtocolInfo), /* struct_size */
NULL, /* get_account_text_table */
NULL, /* initiate_media */
NULL, /* get_media_caps */
NULL, /* get_moods */
NULL, /* set_public_alias */
- NULL, /* get_public_alias */
- NULL, /* add_buddy_with_invite */
- NULL /* add_buddies_with_invite */
+ NULL /* get_public_alias */
};
static PurplePluginInfo info =
============================================================
--- libpurple/protocols/silc/silcpurple.h bcf02c313fbf4eae43623d3171690b1eebde81f5
+++ libpurple/protocols/silc/silcpurple.h 3fa4cd75d2a1af6fc6e9b5bfcf60aee5b6263a17
@@ -105,7 +105,7 @@ GList *silcpurple_buddy_menu(PurpleBuddy
SilcVerifyPublicKey completion,
void *context);
GList *silcpurple_buddy_menu(PurpleBuddy *buddy);
-void silcpurple_add_buddy(PurpleConnection *gc, PurpleBuddy *buddy, PurpleGroup *group);
+void silcpurple_add_buddy(PurpleConnection *gc, PurpleBuddy *buddy, PurpleGroup *group, const char *message);
void silcpurple_send_buddylist(PurpleConnection *gc);
void silcpurple_remove_buddy(PurpleConnection *gc, PurpleBuddy *buddy, PurpleGroup *group);
void silcpurple_buddy_keyagr_request(SilcClient client,
More information about the Commits
mailing list