Mercurial > pidgin.yaz
diff libpurple/protocols/myspace/myspace.c @ 23111:718a9c287839
Use up the last padding for PurplePluginProtocolInfo in a way that allows
adding newer functions without causing any major version bump. This is
based on the changes from the .vv branch. I changed the
PURPLE_PROTOCOL_PLUGIN_HAS_FUNC macro a little so it can be used for the
old as well as the new functions. Someone should confirm this looks OK.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 05 May 2008 06:19:46 +0000 |
parents | 3fee7e01e51c |
children | bb41bdce8981 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c Wed Apr 30 21:09:59 2008 +0000 +++ b/libpurple/protocols/myspace/myspace.c Mon May 05 06:19:46 2008 +0000 @@ -3131,14 +3131,15 @@ NULL, /* unregister_user */ msim_send_attention, /* send_attention */ msim_attention_types, /* attention_types */ - NULL /* _purple_reserved4 */ + + sizeof(PurplePluginProtocolInfo), /* struct_size */ }; /** Based on MSN's plugin info comments. */ static PurplePluginInfo info = { - PURPLE_PLUGIN_MAGIC, + PURPLE_PLUGIN_MAGIC, PURPLE_MAJOR_VERSION, PURPLE_MINOR_VERSION, PURPLE_PLUGIN_PROTOCOL, /**< type */