comparison libpurple/protocols/zephyr/zephyr.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
2851 } 2851 }
2852 2852
2853 static PurplePlugin *my_protocol = NULL; 2853 static PurplePlugin *my_protocol = NULL;
2854 2854
2855 static PurplePluginProtocolInfo prpl_info = { 2855 static PurplePluginProtocolInfo prpl_info = {
2856 sizeof(PurplePluginProtocolInfo), /* struct_size */
2856 OPT_PROTO_CHAT_TOPIC | OPT_PROTO_NO_PASSWORD, 2857 OPT_PROTO_CHAT_TOPIC | OPT_PROTO_NO_PASSWORD,
2857 NULL, /* ??? user_splits */ 2858 NULL, /* ??? user_splits */
2858 NULL, /* ??? protocol_options */ 2859 NULL, /* ??? protocol_options */
2859 NO_BUDDY_ICONS, 2860 NO_BUDDY_ICONS,
2860 zephyr_list_icon, 2861 zephyr_list_icon,
2917 NULL, /* roomlist_room_serialize */ 2918 NULL, /* roomlist_room_serialize */
2918 2919
2919 NULL, 2920 NULL,
2920 NULL, 2921 NULL,
2921 NULL, 2922 NULL,
2922 sizeof(PurplePluginProtocolInfo), /* struct_size */
2923 NULL, /* get_account_text_table */ 2923 NULL, /* get_account_text_table */
2924 NULL, /* initate_media */ 2924 NULL, /* initate_media */
2925 NULL, /* get_media_caps */ 2925 NULL, /* get_media_caps */
2926 NULL, /* get_moods */ 2926 NULL, /* get_moods */
2927 NULL, /* set_public_alias */ 2927 NULL, /* set_public_alias */