Mercurial > pidgin
comparison src/protocols/yahoo/yahoo_friend.c @ 9284:fe0291162312
[gaim-migrate @ 10087]
Yahoo "picture" buddy icon support.
It still kind of sucks, and you can't set your own yet.
But expect it to improve.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Tue, 15 Jun 2004 01:17:16 +0000 |
parents | 66ff39319900 |
children | b4919e8c634c |
comparison
equal
deleted
inserted
replaced
9283:66ff39319900 | 9284:fe0291162312 |
---|---|
110 const char *yahoo_friend_get_status_message(YahooFriend *f) | 110 const char *yahoo_friend_get_status_message(YahooFriend *f) |
111 { | 111 { |
112 return f->msg; | 112 return f->msg; |
113 } | 113 } |
114 | 114 |
115 void yahoo_friend_set_buddy_icon_need_request(YahooFriend *f, gboolean needs) | |
116 { | |
117 f->bicon_sent_request = !needs; | |
118 } | |
119 | |
120 gboolean yahoo_friend_get_buddy_icon_need_request(YahooFriend *f) | |
121 { | |
122 return !f->bicon_sent_request; | |
123 } | |
124 | |
115 void yahoo_friend_free(gpointer p) | 125 void yahoo_friend_free(gpointer p) |
116 { | 126 { |
117 YahooFriend *f = p; | 127 YahooFriend *f = p; |
118 if (f->msg) | 128 if (f->msg) |
119 g_free(f->msg); | 129 g_free(f->msg); |