comparison libpurple/protocols/gg/gg.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
2653 return TRUE; 2653 return TRUE;
2654 } 2654 }
2655 2655
2656 static PurplePluginProtocolInfo prpl_info = 2656 static PurplePluginProtocolInfo prpl_info =
2657 { 2657 {
2658 sizeof(PurplePluginProtocolInfo), /* struct_size */
2658 OPT_PROTO_REGISTER_NOSCREENNAME | OPT_PROTO_IM_IMAGE, 2659 OPT_PROTO_REGISTER_NOSCREENNAME | OPT_PROTO_IM_IMAGE,
2659 NULL, /* user_splits */ 2660 NULL, /* user_splits */
2660 NULL, /* protocol_options */ 2661 NULL, /* protocol_options */
2661 {"png", 32, 32, 96, 96, 0, PURPLE_ICON_SCALE_DISPLAY}, /* icon_spec */ 2662 {"png", 32, 32, 96, 96, 0, PURPLE_ICON_SCALE_DISPLAY}, /* icon_spec */
2662 ggp_list_icon, /* list_icon */ 2663 ggp_list_icon, /* list_icon */
2718 NULL, /* send_raw */ 2719 NULL, /* send_raw */
2719 NULL, /* roomlist_room_serialize */ 2720 NULL, /* roomlist_room_serialize */
2720 NULL, /* unregister_user */ 2721 NULL, /* unregister_user */
2721 NULL, /* send_attention */ 2722 NULL, /* send_attention */
2722 NULL, /* get_attention_types */ 2723 NULL, /* get_attention_types */
2723 sizeof(PurplePluginProtocolInfo), /* struct_size */
2724 NULL, /* get_account_text_table */ 2724 NULL, /* get_account_text_table */
2725 NULL, /* initiate_media */ 2725 NULL, /* initiate_media */
2726 NULL, /* can_do_media */ 2726 NULL, /* can_do_media */
2727 NULL, /* get_moods */ 2727 NULL, /* get_moods */
2728 NULL, /* set_public_alias */ 2728 NULL, /* set_public_alias */