comparison libpurple/protocols/myspace/myspace.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
3005 3005
3006 /** 3006 /**
3007 * Callbacks called by Purple, to access this plugin. 3007 * Callbacks called by Purple, to access this plugin.
3008 */ 3008 */
3009 static PurplePluginProtocolInfo prpl_info = { 3009 static PurplePluginProtocolInfo prpl_info = {
3010 sizeof(PurplePluginProtocolInfo), /* struct_size */
3010 /* options */ 3011 /* options */
3011 OPT_PROTO_USE_POINTSIZE /* specify font size in sane point size */ 3012 OPT_PROTO_USE_POINTSIZE /* specify font size in sane point size */
3012 | OPT_PROTO_MAIL_CHECK, 3013 | OPT_PROTO_MAIL_CHECK,
3013 3014
3014 /* | OPT_PROTO_IM_IMAGE - TODO: direct images. */ 3015 /* | OPT_PROTO_IM_IMAGE - TODO: direct images. */
3074 msim_send_really_raw, /* send_raw */ 3075 msim_send_really_raw, /* send_raw */
3075 NULL, /* roomlist_room_serialize */ 3076 NULL, /* roomlist_room_serialize */
3076 NULL, /* unregister_user */ 3077 NULL, /* unregister_user */
3077 msim_send_attention, /* send_attention */ 3078 msim_send_attention, /* send_attention */
3078 msim_attention_types, /* attention_types */ 3079 msim_attention_types, /* attention_types */
3079 sizeof(PurplePluginProtocolInfo), /* struct_size */
3080 msim_get_account_text_table, /* get_account_text_table */ 3080 msim_get_account_text_table, /* get_account_text_table */
3081 NULL, /* initiate_media */ 3081 NULL, /* initiate_media */
3082 NULL, /* get_media_caps */ 3082 NULL, /* get_media_caps */
3083 NULL, /* get_moods */ 3083 NULL, /* get_moods */
3084 NULL, /* set_public_alias */ 3084 NULL, /* set_public_alias */