Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/libicq.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 |
---|---|
36 return table; | 36 return table; |
37 } | 37 } |
38 | 38 |
39 static PurplePluginProtocolInfo prpl_info = | 39 static PurplePluginProtocolInfo prpl_info = |
40 { | 40 { |
41 sizeof(PurplePluginProtocolInfo), /* struct_size */ | |
41 OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE | OPT_PROTO_INVITE_MESSAGE, | 42 OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE | OPT_PROTO_INVITE_MESSAGE, |
42 NULL, /* user_splits */ | 43 NULL, /* user_splits */ |
43 NULL, /* protocol_options */ | 44 NULL, /* protocol_options */ |
44 {"gif,jpeg,bmp,ico", 0, 0, 64, 64, 7168, PURPLE_ICON_SCALE_SEND | PURPLE_ICON_SCALE_DISPLAY}, /* icon_spec */ | 45 {"gif,jpeg,bmp,ico", 0, 0, 64, 64, 7168, PURPLE_ICON_SCALE_SEND | PURPLE_ICON_SCALE_DISPLAY}, /* icon_spec */ |
45 oscar_list_icon_icq, /* list_icon */ | 46 oscar_list_icon_icq, /* list_icon */ |
101 NULL, /* send_raw */ | 102 NULL, /* send_raw */ |
102 NULL, /* roomlist_room_serialize */ | 103 NULL, /* roomlist_room_serialize */ |
103 NULL, /* unregister_user */ | 104 NULL, /* unregister_user */ |
104 NULL, /* send_attention */ | 105 NULL, /* send_attention */ |
105 NULL, /* get_attention_types */ | 106 NULL, /* get_attention_types */ |
106 | |
107 sizeof(PurplePluginProtocolInfo), /* struct_size */ | |
108 icq_get_account_text_table, /* get_account_text_table */ | 107 icq_get_account_text_table, /* get_account_text_table */ |
109 NULL, /* initiate_media */ | 108 NULL, /* initiate_media */ |
110 NULL, /* can_do_media */ | 109 NULL, /* can_do_media */ |
111 oscar_get_purple_moods, /* get_moods */ | 110 oscar_get_purple_moods, /* get_moods */ |
112 NULL, /* set_public_alias */ | 111 NULL, /* set_public_alias */ |