diff src/conversation.c @ 3382:e9a89676d120

[gaim-migrate @ 3401] No longer do we build libicq.so -- run make in src/protocols/icq if you feel you need it for some reason (you don't--use OSCAR) TOC is no longer compiled statically by default. If you need it for some reason, you can load the libtoc.so plugin. Ari Pollak fixed up some #ifdefs to get IM images to work in gtk2, and he fixed a few gtk font warnings elsewhere. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 07 Aug 2002 23:25:33 +0000
parents d59394b4c5a6
children c65c298a04e1
line wrap: on
line diff
--- a/src/conversation.c	Wed Aug 07 22:37:58 2002 +0000
+++ b/src/conversation.c	Wed Aug 07 23:25:33 2002 +0000
@@ -2628,7 +2628,9 @@
 		style = gtk_style_new();
 		if (!GTK_WIDGET_REALIZED(label))
 			gtk_widget_realize(label);
+#if !GTK_CHECK_VERSION(1,3,0)
 		gdk_font_unref(gtk_style_get_font(style));
+#endif
 		gtk_style_set_font(style, gdk_font_ref(gtk_style_get_font(label->style)));
 		style->fg[0].red = 0x0000;
 		style->fg[0].green = 0x9999;
@@ -2688,7 +2690,9 @@
 		style = gtk_style_new();
 		if (!GTK_WIDGET_REALIZED(label))
 			gtk_widget_realize(label);
+#if !GTK_CHECK_VERSION(1,3,0)
 		gdk_font_unref(gtk_style_get_font(style));
+#endif
 		gtk_style_set_font(style, gdk_font_ref(gtk_style_get_font(label->style)));
 		c->unseen = 0;
 		gtk_widget_set_style(label, style);