Mercurial > pidgin.yaz
comparison src/gtkutils.c @ 7118:bf630f7dfdcd
[gaim-migrate @ 7685]
Here's a commit that I think will make faceprint happy. GaimWindow ->
GaimConvWindow, GaimIm -> GaimConvIm, GaimChat -> GaimConvChat,
GaimBlistChat -> GaimChat, and updated the API functions as well. Plugin
authors are going to hunt me down and murder me. I can feel it..
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 02 Oct 2003 02:54:07 +0000 |
parents | c4faffdc0862 |
children | 2737c287f84d |
comparison
equal
deleted
inserted
replaced
7117:943085b0ff8b | 7118:bf630f7dfdcd |
---|---|
271 | 271 |
272 if (gaim_gtk_check_if_dir(f, GTK_FILE_SELECTION(gtkconv->u.im->save_icon))) | 272 if (gaim_gtk_check_if_dir(f, GTK_FILE_SELECTION(gtkconv->u.im->save_icon))) |
273 return; | 273 return; |
274 | 274 |
275 if ((file = fopen(f, "w")) != NULL) { | 275 if ((file = fopen(f, "w")) != NULL) { |
276 GaimBuddyIcon *icon = gaim_im_get_icon(GAIM_IM(c)); | 276 GaimBuddyIcon *icon = gaim_conv_im_get_icon(GAIM_CONV_IM(c)); |
277 size_t len; | 277 size_t len; |
278 const void *data = gaim_buddy_icon_get_data(icon, &len); | 278 const void *data = gaim_buddy_icon_get_data(icon, &len); |
279 | 279 |
280 if (data) | 280 if (data) |
281 fwrite(data, 1, len, file); | 281 fwrite(data, 1, len, file); |