# HG changeset patch # User Christian Hammond # Date 1063781196 0 # Node ID 1b5b0cea691559fd566ed6675233a445535b5376 # Parent a466315be4b5d90b76ddb9c1af04dd1649381712 [gaim-migrate @ 7423] Fixed an assertion warning for buddy icons on every conversation without a buddy icon. committer: Tailor Script diff -r a466315be4b5 -r 1b5b0cea6915 src/gtkconv.c --- a/src/gtkconv.c Wed Sep 17 06:30:23 2003 +0000 +++ b/src/gtkconv.c Wed Sep 17 06:46:36 2003 +0000 @@ -5275,11 +5275,11 @@ { GaimBuddyIcon *icon = gaim_im_get_icon(GAIM_IM(conv)); + if (icon == NULL) + return; + data = gaim_buddy_icon_get_data(icon, &len); - if (!data) - return; - /* this is such an evil hack, i don't know why i'm even considering it. * we'll do it differently when gdk-pixbuf-loader isn't leaky anymore. */ g_snprintf(filename, sizeof(filename),