pidgin: f606c82f: GDK_WINDOW_TYPE_HINT_TOOLTIP is new with...

nosnilmot at pidgin.im nosnilmot at pidgin.im
Tue Mar 11 12:25:44 EDT 2008


-----------------------------------------------------------------
Revision: f606c82f64f5626841bc52a6eb7649064614964e
Ancestor: 968f2a16f8c4887c10a826e1d007a9ce0d0e9d5d
Author: nosnilmot at pidgin.im
Date: 2008-03-11T16:20:54
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f606c82f64f5626841bc52a6eb7649064614964e

Modified files:
        pidgin/gtkimhtml.c

ChangeLog: 

GDK_WINDOW_TYPE_HINT_TOOLTIP is new with Gtk 2.10

-------------- next part --------------
============================================================
--- pidgin/gtkimhtml.c	5e72e904d801accc401a8aac82f75ffe38f69b9f
+++ pidgin/gtkimhtml.c	053c9ffb83e27190c516da0b71028eb6f033c8a4
@@ -440,8 +440,10 @@ gtk_imhtml_tip (gpointer data)
 	gtk_widget_set_app_paintable (imhtml->tip_window, TRUE);
 	gtk_window_set_resizable (GTK_WINDOW (imhtml->tip_window), FALSE);
 	gtk_widget_set_name (imhtml->tip_window, "gtk-tooltips");
+#if GTK_CHECK_VERSION(2,10,0)
 	gtk_window_set_type_hint (GTK_WINDOW (imhtml->tip_window),
 		GDK_WINDOW_TYPE_HINT_TOOLTIP);
+#endif
 	g_signal_connect_swapped (G_OBJECT (imhtml->tip_window), "expose_event",
 							  G_CALLBACK (gtk_imhtml_tip_paint), imhtml);
 


More information about the Commits mailing list