pidgin/purple-plugin-pack

f5de0ceba120
Parents 598748ad4c30
Children 22709b87e816
Set the struct_size variable properly in our prpls to quash a compiler warning.
--- a/napster/napster.c Tue Nov 25 16:39:01 2008 -0500
+++ b/napster/napster.c Tue Nov 25 16:39:59 2008 -0500
@@ -698,7 +698,7 @@
NULL, /* unregister_user */
NULL, /* send_attention */
NULL, /* get_attention_types */
- NULL /* reserved 4 */
+ sizeof(PurplePluginProtocolInfo), /* struct_size */
};
static PurplePluginInfo info = {
--- a/snpp/snpp.c Tue Nov 25 16:39:01 2008 -0500
+++ b/snpp/snpp.c Tue Nov 25 16:39:59 2008 -0500
@@ -545,7 +545,7 @@
NULL, /* unregister_user */
NULL, /* send_attention */
NULL, /* get_attention_types */
- NULL /* reserved 4 */
+ sizeof(PurplePluginProtocolInfo), /* struct_size */
};