changeset 24289:d0e0de920387

Fix a compiler warning I introduce with the GtkSetting code.
author Richard Laager <rlaager@wiktel.com>
date Thu, 30 Oct 2008 20:12:24 +0000
parents 878ad37e5a18
children af44492cdb95
files pidgin/pidgintooltip.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/pidgintooltip.c	Thu Oct 30 20:10:08 2008 +0000
+++ b/pidgin/pidgintooltip.c	Thu Oct 30 20:12:24 2008 +0000
@@ -61,7 +61,9 @@
 static void
 initialize_tooltip_delay()
 {
+#if GTK_CHECK_VERSION(2,14,0)
 	GtkSettings *settings;
+#endif
 
 	if (tooltip_delay != -1)
 		return;