diff src/buddy_chat.c @ 615:9f168ba28ac2

[gaim-migrate @ 625] the default fontface now works in buddy chats as well committer: Tailor Script <tailor@pidgin.im>
author Todd Kulesza <fflewddur>
date Sat, 05 Aug 2000 04:38:19 +0000
parents 12bb64b42ad1
children 83c773b5b6dc
line wrap: on
line diff
--- a/src/buddy_chat.c	Sat Aug 05 02:26:39 2000 +0000
+++ b/src/buddy_chat.c	Sat Aug 05 04:38:19 2000 +0000
@@ -704,13 +704,15 @@
 
 	gtk_signal_connect(GTK_OBJECT(win), "destroy", GTK_SIGNAL_FUNC(close_callback),b);
 
-
-        gtk_widget_realize(win);
+	if (fontface)
+		strncpy(b->current_fontface, fontface, sizeof(b->current_fontface));
+	if (fontname)
+		strncpy(b->current_fontname, fontname, sizeof(b->current_fontname));
+		
+	gtk_widget_realize(win);
 	aol_icon(win->window);
 
 	gtk_widget_show(win);
-
-	
 }