changeset 1578:5e60cfb67ab6

[gaim-migrate @ 1588] whoops. this should be good for a few fixes. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 15 Mar 2001 15:17:22 +0000
parents d7d3ae0071b4
children 14ebefc5648b
files src/conversation.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Thu Mar 15 15:10:10 2001 +0000
+++ b/src/conversation.c	Thu Mar 15 15:17:22 2001 +0000
@@ -1404,6 +1404,7 @@
 			gtk_widget_realize(label);
 		gdk_font_unref(style->font);
 		style->font = label->style->font;
+		gdk_font_ref(style->font);
 		style->fg[0].red = 0xcccc;
 		style->fg[0].green = 0x0000;
 		style->fg[0].blue = 0x0000;
@@ -1815,6 +1816,7 @@
 	style = gtk_style_new();
 	gdk_font_unref(style->font);
 	style->font = label->style->font;
+	gdk_font_ref(style->font);
 	gtk_widget_set_style(label, style);
 	gtk_style_unref(style);
 }