comparison libpurple/protocols/novell/novell.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
3472 rc = nm_send_keepalive(user, NULL, NULL); 3472 rc = nm_send_keepalive(user, NULL, NULL);
3473 _check_for_disconnect(user, rc); 3473 _check_for_disconnect(user, rc);
3474 } 3474 }
3475 3475
3476 static PurplePluginProtocolInfo prpl_info = { 3476 static PurplePluginProtocolInfo prpl_info = {
3477 sizeof(PurplePluginProtocolInfo), /* struct_size */
3477 0, 3478 0,
3478 NULL, /* user_splits */ 3479 NULL, /* user_splits */
3479 NULL, /* protocol_options */ 3480 NULL, /* protocol_options */
3480 NO_BUDDY_ICONS, /* icon_spec */ 3481 NO_BUDDY_ICONS, /* icon_spec */
3481 novell_list_icon, /* list_icon */ 3482 novell_list_icon, /* list_icon */
3537 NULL, /* send_raw */ 3538 NULL, /* send_raw */
3538 NULL, /* roomlist_room_serialize */ 3539 NULL, /* roomlist_room_serialize */
3539 NULL, /* unregister_user */ 3540 NULL, /* unregister_user */
3540 NULL, /* send_attention */ 3541 NULL, /* send_attention */
3541 NULL, /* get_attention_types */ 3542 NULL, /* get_attention_types */
3542 sizeof(PurplePluginProtocolInfo), /* struct_size */
3543 NULL, /* get_account_text_table */ 3543 NULL, /* get_account_text_table */
3544 NULL, /* initiate_media */ 3544 NULL, /* initiate_media */
3545 NULL, /* get_media_caps */ 3545 NULL, /* get_media_caps */
3546 NULL, /* get_moods */ 3546 NULL, /* get_moods */
3547 NULL, /* set_public_alias */ 3547 NULL, /* set_public_alias */