Mercurial > pidgin.yaz
comparison libpurple/protocols/simple/simple.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 |
---|---|
2044 purple_connection_set_protocol_data(gc, NULL); | 2044 purple_connection_set_protocol_data(gc, NULL); |
2045 } | 2045 } |
2046 | 2046 |
2047 static PurplePluginProtocolInfo prpl_info = | 2047 static PurplePluginProtocolInfo prpl_info = |
2048 { | 2048 { |
2049 sizeof(PurplePluginProtocolInfo), /* struct_size */ | |
2049 0, | 2050 0, |
2050 NULL, /* user_splits */ | 2051 NULL, /* user_splits */ |
2051 NULL, /* protocol_options */ | 2052 NULL, /* protocol_options */ |
2052 NO_BUDDY_ICONS, /* icon_spec */ | 2053 NO_BUDDY_ICONS, /* icon_spec */ |
2053 simple_list_icon, /* list_icon */ | 2054 simple_list_icon, /* list_icon */ |
2109 simple_send_raw, /* send_raw */ | 2110 simple_send_raw, /* send_raw */ |
2110 NULL, /* roomlist_room_serialize */ | 2111 NULL, /* roomlist_room_serialize */ |
2111 NULL, /* unregister_user */ | 2112 NULL, /* unregister_user */ |
2112 NULL, /* send_attention */ | 2113 NULL, /* send_attention */ |
2113 NULL, /* get_attention_types */ | 2114 NULL, /* get_attention_types */ |
2114 sizeof(PurplePluginProtocolInfo), /* struct_size */ | |
2115 NULL, /* get_account_text_table */ | 2115 NULL, /* get_account_text_table */ |
2116 NULL, /* initiate_media */ | 2116 NULL, /* initiate_media */ |
2117 NULL, /* get_media_caps */ | 2117 NULL, /* get_media_caps */ |
2118 NULL, /* get_moods */ | 2118 NULL, /* get_moods */ |
2119 NULL, /* set_public_alias */ | 2119 NULL, /* set_public_alias */ |