diff console/libgnt/gntstyle.c @ 14210:bb38f32ab6aa

[gaim-migrate @ 16888] GKeyFile is in glib-2.6 and above. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 19 Aug 2006 17:11:39 +0000
parents 7573bd40a190
children a0b1ab181316
line wrap: on
line diff
--- a/console/libgnt/gntstyle.c	Sat Aug 19 16:41:40 2006 +0000
+++ b/console/libgnt/gntstyle.c	Sat Aug 19 17:11:39 2006 +0000
@@ -41,6 +41,7 @@
 	return bool_styles[style];
 }
 
+#if GLIB_CHECK_VERSION(2,6,0)
 static void
 read_general_style(GKeyFile *kfile)
 {
@@ -70,6 +71,7 @@
 		}
 	}
 }
+#endif
 
 void gnt_style_read_configure_file(const char *filename)
 {