diff src/gtkimhtml.h @ 3395:c731327dbc47

[gaim-migrate @ 3414] Thanks to Timothy Lee and Dan Colascione for gettiing perl 5.8 to work. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 16 Aug 2002 01:18:01 +0000
parents fce1883cc608
children 7c26704c141a
line wrap: on
line diff
--- a/src/gtkimhtml.h	Thu Aug 15 04:04:23 2002 +0000
+++ b/src/gtkimhtml.h	Fri Aug 16 01:18:01 2002 +0000
@@ -45,7 +45,11 @@
 struct _GtkIMHtml {
 	GtkLayout layout;
 
+#if GTK_CHECK_VERSION(1,3,0)
+	PangoFontDescription *default_font;
+#else
 	GdkFont *default_font;
+#endif
 	GdkColor *default_fg_color;
 	GdkColor *default_bg_color;
 	GdkColor *default_hl_color;
@@ -110,7 +114,11 @@
 					GtkAdjustment    *vadj);
 
 void       gtk_imhtml_set_defaults     (GtkIMHtml        *imhtml,
+#if GTK_CHECK_VERSION(1,3,0)
+					PangoFontDescription *font,
+#else
 					GdkFont          *font,
+#endif
 					GdkColor         *fg_color,
 					GdkColor         *bg_color);