Mercurial > pidgin
changeset 22457:2ebc7c497382
GDK_WINDOW_TYPE_HINT_TOOLTIP is new with Gtk 2.10
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 11 Mar 2008 16:20:54 +0000 |
parents | af83f19d8c08 |
children | 9b154f484d64 |
files | pidgin/gtkimhtml.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c Tue Mar 11 15:58:25 2008 +0000 +++ b/pidgin/gtkimhtml.c Tue Mar 11 16:20:54 2008 +0000 @@ -440,8 +440,10 @@ 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);