diff src/buddy.c @ 3133:a2c6727e3c1b

[gaim-migrate @ 3148] Any better, Chip? committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Fri, 12 Apr 2002 00:28:42 +0000
parents bb7527b5f426
children c05990414e2e
line wrap: on
line diff
--- a/src/buddy.c	Thu Apr 11 23:39:29 2002 +0000
+++ b/src/buddy.c	Fri Apr 12 00:28:42 2002 +0000
@@ -1865,10 +1865,12 @@
 	gdk_pixmap_unref(pm);
 	gdk_bitmap_unref(bm);
 
-	style = gtk_widget_get_style(GTK_TREE_ITEM(g->item)->pixmaps_box);
-	style2 = gtk_widget_get_style(g->item);
+//	style = gtk_widget_get_style(GTK_TREE_ITEM(g->item)->pixmaps_box);
+	style2 = gtk_style_new();
+	style2 = gtk_style_copy(gtk_widget_get_style(g->item));
+	style = gtk_style_new();
+	style = gtk_style_copy(gtk_widget_get_style(GTK_WIDGET(g->label)));
 	style->bg[0] = style2->base[0];
-
 	gtk_widget_set_style(GTK_TREE_ITEM(g->item)->pixmaps_box, style);
 
 	/* bad drugs */