Mercurial > pidgin.yaz
comparison src/protocols/trepia/trepia.c @ 9285:7a8aa87164ae
[gaim-migrate @ 10088]
Ok I'm done. This started out as shx's patch to make add/remove
buddy/buddies take GaimBuddy and GaimGroup's in various places.
I think his diff was like 2000 lines and mine is like 5000. I
tried to clean up blist.c a bit and make it more uniform. There
are some more g_return_if_fail() checks. Removed some code that
was deprecated--it's probably been long enough. Removed some
#include <multi.h>'s. Make blist.xml saving happen on a timer,
like prefs.xml and accounts.xml.
Sorry if this doesn't merge cleanly with whatever you're doing.
People should really test this a lot.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 15 Jun 2004 02:37:27 +0000 |
parents | f5fd42679095 |
children | b3bda982996b |
comparison
equal
deleted
inserted
replaced
9284:fe0291162312 | 9285:7a8aa87164ae |
---|---|
1134 | 1134 |
1135 return 1; | 1135 return 1; |
1136 } | 1136 } |
1137 | 1137 |
1138 static void | 1138 static void |
1139 trepia_add_buddy(GaimConnection *gc, const char *name, GaimGroup *group) | |
1140 { | |
1141 } | |
1142 | |
1143 static void | |
1144 trepia_rem_buddy(GaimConnection *gc, const char *who, const char *group) | |
1145 { | |
1146 } | |
1147 | |
1148 static void | |
1149 trepia_buddy_free(GaimBuddy *b) | 1139 trepia_buddy_free(GaimBuddy *b) |
1150 { | 1140 { |
1151 if (b->proto_data != NULL) { | 1141 if (b->proto_data != NULL) { |
1152 trepia_profile_destroy(b->proto_data); | 1142 trepia_profile_destroy(b->proto_data); |
1153 | 1143 |
1224 NULL, /* send_typing */ | 1214 NULL, /* send_typing */ |
1225 NULL, /* get_info */ | 1215 NULL, /* get_info */ |
1226 NULL, /* set_away */ | 1216 NULL, /* set_away */ |
1227 NULL, /* set_idle */ | 1217 NULL, /* set_idle */ |
1228 NULL, /* change_passwd */ | 1218 NULL, /* change_passwd */ |
1229 trepia_add_buddy, | 1219 NULL, /* add_buddy */ |
1230 NULL, /* add_buddies */ | 1220 NULL, /* add_buddies */ |
1231 trepia_rem_buddy, | 1221 NULL, /* rem_buddy */ |
1232 NULL, /* remove_buddies */ | 1222 NULL, /* remove_buddies */ |
1233 NULL, /* add_permit */ | 1223 NULL, /* add_permit */ |
1234 NULL, /* add_deny */ | 1224 NULL, /* add_deny */ |
1235 NULL, /* rem_permit */ | 1225 NULL, /* rem_permit */ |
1236 NULL, /* rem_deny */ | 1226 NULL, /* rem_deny */ |