comparison libpurple/protocols/null/nullprpl.c @ 30105:7dd09af2bbc9

nullprpl: Whitespace
author Paul Aurich <paul@darkrain42.org>
date Sat, 10 Apr 2010 03:12:45 +0000
parents 6313e62faee9
children 2a436e0ce977
comparison
equal deleted inserted replaced
30103:c59a781958ff 30105:7dd09af2bbc9
995 if (g_list_find_custom(seen_ids, name, (GCompareFunc)strcmp)) 995 if (g_list_find_custom(seen_ids, name, (GCompareFunc)strcmp))
996 continue; /* yes! try the next one. */ 996 continue; /* yes! try the next one. */
997 997
998 /* This cast is OK because this list is only staying around for the life 998 /* This cast is OK because this list is only staying around for the life
999 * of this function and none of the conversations are being deleted 999 * of this function and none of the conversations are being deleted
1000 * in that timespan. */ 1000 * in that timespan. */
1001 seen_ids = g_list_prepend(seen_ids, (char *)name); /* no, it's new. */ 1001 seen_ids = g_list_prepend(seen_ids, (char *)name); /* no, it's new. */
1002 purple_debug_info("nullprpl", "%s (%d), ", name, id); 1002 purple_debug_info("nullprpl", "%s (%d), ", name, id);
1003 1003
1004 room = purple_roomlist_room_new(PURPLE_ROOMLIST_ROOMTYPE_ROOM, name, NULL); 1004 room = purple_roomlist_room_new(PURPLE_ROOMLIST_ROOMTYPE_ROOM, name, NULL);
1005 purple_roomlist_room_add_field(roomlist, room, name); 1005 purple_roomlist_room_add_field(roomlist, room, name);
1115 NULL, /* roomlist_room_serialize */ 1115 NULL, /* roomlist_room_serialize */
1116 NULL, /* unregister_user */ 1116 NULL, /* unregister_user */
1117 NULL, /* send_attention */ 1117 NULL, /* send_attention */
1118 NULL, /* get_attention_types */ 1118 NULL, /* get_attention_types */
1119 sizeof(PurplePluginProtocolInfo), /* struct_size */ 1119 sizeof(PurplePluginProtocolInfo), /* struct_size */
1120 NULL, /* get_account_text_table */ 1120 NULL, /* get_account_text_table */
1121 NULL, /* initiate_media */ 1121 NULL, /* initiate_media */
1122 NULL, /* get_media_caps */ 1122 NULL, /* get_media_caps */
1123 NULL /* get_moods */ 1123 NULL /* get_moods */
1124 }; 1124 };
1125 1125
1126 static void nullprpl_init(PurplePlugin *plugin) 1126 static void nullprpl_init(PurplePlugin *plugin)
1127 { 1127 {
1128 /* see accountopt.h for information about user splits and protocol options */ 1128 /* see accountopt.h for information about user splits and protocol options */