Mercurial > pidgin
comparison libpurple/protocols/myspace/zap.c @ 25130:16734635febf
Start hiding blist.h internals in prpls.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 27 Sep 2008 06:33:42 +0000 |
parents | 797377cbd5bf |
children | 0331bc480515 |
comparison
equal
deleted
inserted
replaced
24188:d1cfa8c11902 | 25130:16734635febf |
---|---|
175 g_return_if_fail(PURPLE_BLIST_NODE_IS_BUDDY(node)); | 175 g_return_if_fail(PURPLE_BLIST_NODE_IS_BUDDY(node)); |
176 | 176 |
177 buddy = (PurpleBuddy *)node; | 177 buddy = (PurpleBuddy *)node; |
178 | 178 |
179 /* Find the session */ | 179 /* Find the session */ |
180 account = buddy->account; | 180 account = purple_buddy_get_account(buddy); |
181 gc = purple_account_get_connection(account); | 181 gc = purple_account_get_connection(account); |
182 session = (MsimSession *)gc->proto_data; | 182 session = (MsimSession *)gc->proto_data; |
183 | 183 |
184 zap = GPOINTER_TO_INT(zap_num_ptr); | 184 zap = GPOINTER_TO_INT(zap_num_ptr); |
185 | 185 |
186 purple_prpl_send_attention(session->gc, buddy->name, zap); | 186 purple_prpl_send_attention(session->gc, purple_buddy_get_name(buddy), zap); |
187 } | 187 } |
188 | 188 |
189 /** Return menu, if any, for a buddy list node. */ | 189 /** Return menu, if any, for a buddy list node. */ |
190 GList * | 190 GList * |
191 msim_blist_node_menu(PurpleBlistNode *node) | 191 msim_blist_node_menu(PurpleBlistNode *node) |