Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/msn.c @ 32493:743bb6b1aa30
Move struct_size to the beginning of the struct. Even if we don't
rewrite this somehow (as a GObject or otherwise), it really belongs at
the start.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 03 Sep 2011 23:30:40 +0000 |
parents | cd1d9e04c587 |
children | c6943fd38d44 |
comparison
equal
deleted
inserted
replaced
32492:cd1d9e04c587 | 32493:743bb6b1aa30 |
---|---|
2928 } | 2928 } |
2929 | 2929 |
2930 | 2930 |
2931 static PurplePluginProtocolInfo prpl_info = | 2931 static PurplePluginProtocolInfo prpl_info = |
2932 { | 2932 { |
2933 sizeof(PurplePluginProtocolInfo), /* struct_size */ | |
2933 OPT_PROTO_MAIL_CHECK|OPT_PROTO_INVITE_MESSAGE, | 2934 OPT_PROTO_MAIL_CHECK|OPT_PROTO_INVITE_MESSAGE, |
2934 NULL, /* user_splits */ | 2935 NULL, /* user_splits */ |
2935 NULL, /* protocol_options */ | 2936 NULL, /* protocol_options */ |
2936 {"png,gif", 0, 0, 96, 96, 0, PURPLE_ICON_SCALE_SEND}, /* icon_spec */ | 2937 {"png,gif", 0, 0, 96, 96, 0, PURPLE_ICON_SCALE_SEND}, /* icon_spec */ |
2937 msn_list_icon, /* list_icon */ | 2938 msn_list_icon, /* list_icon */ |
2993 NULL, /* send_raw */ | 2994 NULL, /* send_raw */ |
2994 NULL, /* roomlist_room_serialize */ | 2995 NULL, /* roomlist_room_serialize */ |
2995 NULL, /* unregister_user */ | 2996 NULL, /* unregister_user */ |
2996 msn_send_attention, /* send_attention */ | 2997 msn_send_attention, /* send_attention */ |
2997 msn_attention_types, /* attention_types */ | 2998 msn_attention_types, /* attention_types */ |
2998 sizeof(PurplePluginProtocolInfo), /* struct_size */ | |
2999 msn_get_account_text_table, /* get_account_text_table */ | 2999 msn_get_account_text_table, /* get_account_text_table */ |
3000 NULL, /* initiate_media */ | 3000 NULL, /* initiate_media */ |
3001 NULL, /* get_media_caps */ | 3001 NULL, /* get_media_caps */ |
3002 NULL, /* get_moods */ | 3002 NULL, /* get_moods */ |
3003 msn_set_public_alias, /* set_public_alias */ | 3003 msn_set_public_alias, /* set_public_alias */ |