Mercurial > pidgin.yaz
comparison src/protocols/msn/msn.c @ 9042:0ed22fac1ec1
[gaim-migrate @ 9818]
c99-isms
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 23 May 2004 21:54:37 +0000 |
parents | 812e7aa7eafa |
children | 0d5206ffe86a |
comparison
equal
deleted
inserted
replaced
9041:812e7aa7eafa | 9042:0ed22fac1ec1 |
---|---|
247 static void | 247 static void |
248 show_send_to_mobile_cb(GaimBlistNode *node, gpointer ignored) | 248 show_send_to_mobile_cb(GaimBlistNode *node, gpointer ignored) |
249 { | 249 { |
250 GaimBuddy *buddy; | 250 GaimBuddy *buddy; |
251 GaimConnection *gc; | 251 GaimConnection *gc; |
252 MsnUser *user; | |
253 MsnSession *session; | |
254 MsnMobileData *data; | |
252 | 255 |
253 g_return_if_fail(GAIM_BLIST_NODE_IS_BUDDY(node)); | 256 g_return_if_fail(GAIM_BLIST_NODE_IS_BUDDY(node)); |
254 | 257 |
255 buddy = (GaimBuddy *) node; | 258 buddy = (GaimBuddy *) node; |
256 gc = gaim_account_get_connection(buddy->account); | 259 gc = gaim_account_get_connection(buddy->account); |
257 | |
258 MsnUser *user; | |
259 MsnSession *session; | |
260 MsnMobileData *data; | |
261 | 260 |
262 session = gc->proto_data; | 261 session = gc->proto_data; |
263 user = msn_users_find_with_passport(session->users, buddy->name); | 262 user = msn_users_find_with_passport(session->users, buddy->name); |
264 | 263 |
265 data = g_new0(MsnMobileData, 1); | 264 data = g_new0(MsnMobileData, 1); |