im.pidgin.pidgin: bcb6a88f779bc679ae3a0186e4390ded1f2e45a8

datallah at pidgin.im datallah at pidgin.im
Wed Dec 19 11:00:39 EST 2007


-----------------------------------------------------------------
Revision: bcb6a88f779bc679ae3a0186e4390ded1f2e45a8
Ancestor: 1437947e6a85f09a4edefee5cee4979f952049fe
Author: datallah at pidgin.im
Date: 2007-12-19T15:53:58
Branch: im.pidgin.pidgin

Modified files:
        pidgin/pidgintooltip.c

ChangeLog: 

GDK_WINDOW_TYPE_HINT_TOOLTIP is GTK+ >= 2.10.0

-------------- next part --------------
============================================================
--- pidgin/pidgintooltip.c	c89a2700b41cb5a634137ba345dd8a0aff815f3a
+++ pidgin/pidgintooltip.c	cd6a6fa0dffab80b474d0b30b5c521c3893ffad1
@@ -83,7 +83,9 @@ setup_tooltip_window()
 
 	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);


More information about the Commits mailing list