comparison src/gtkconv.c @ 6877:1b5b0cea6915

[gaim-migrate @ 7423] Fixed an assertion warning for buddy icons on every conversation without a buddy icon. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 17 Sep 2003 06:46:36 +0000
parents 8ab95f4c9800
children 083d1e4a9c78
comparison
equal deleted inserted replaced
6876:a466315be4b5 6877:1b5b0cea6915
5273 } 5273 }
5274 else 5274 else
5275 { 5275 {
5276 GaimBuddyIcon *icon = gaim_im_get_icon(GAIM_IM(conv)); 5276 GaimBuddyIcon *icon = gaim_im_get_icon(GAIM_IM(conv));
5277 5277
5278 if (icon == NULL)
5279 return;
5280
5278 data = gaim_buddy_icon_get_data(icon, &len); 5281 data = gaim_buddy_icon_get_data(icon, &len);
5279
5280 if (!data)
5281 return;
5282 5282
5283 /* this is such an evil hack, i don't know why i'm even considering it. 5283 /* this is such an evil hack, i don't know why i'm even considering it.
5284 * we'll do it differently when gdk-pixbuf-loader isn't leaky anymore. */ 5284 * we'll do it differently when gdk-pixbuf-loader isn't leaky anymore. */
5285 g_snprintf(filename, sizeof(filename), 5285 g_snprintf(filename, sizeof(filename),
5286 "%s" G_DIR_SEPARATOR_S "gaimicon-%s.%d", 5286 "%s" G_DIR_SEPARATOR_S "gaimicon-%s.%d",