changeset 21905:2dafcbfc1556

GDK_WINDOW_TYPE_HINT_TOOLTIP is GTK+ >= 2.10.0
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 19 Dec 2007 15:53:58 +0000
parents 9b299228431c
children 47aabef7f802
files pidgin/pidgintooltip.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/pidgintooltip.c	Wed Dec 19 11:31:37 2007 +0000
+++ b/pidgin/pidgintooltip.c	Wed Dec 19 15:53:58 2007 +0000
@@ -83,7 +83,9 @@
 
 	tipwindow = gtk_window_new(GTK_WINDOW_POPUP);
 	name = gtk_window_get_title(GTK_WINDOW(pidgin_tooltip.widget));
+#if GTK_CHECK_VERSION(2,10,0)
 	gtk_window_set_type_hint(GTK_WINDOW(tipwindow), GDK_WINDOW_TYPE_HINT_TOOLTIP);
+#endif
 	gtk_widget_set_app_paintable(tipwindow, TRUE);
 	gtk_window_set_title(GTK_WINDOW(tipwindow), name ? name : _("Pidgin Tooltip"));
 	gtk_window_set_resizable(GTK_WINDOW(tipwindow), FALSE);