Don't use Gtk+ tooltip unless Gtk+ version => 2.14.
authorJan Djärv <jan.h.d@swipnet.se>
Mon, 2 Aug 2010 12:50:03 +0000 (14:50 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Mon, 2 Aug 2010 12:50:03 +0000 (14:50 +0200)
commitac01763ed233b649f0daffc08b4f6e3b16d8876a
treec3c8ac641e1d39741e55a4b4131e501b719b2fb4
parent3311d1c27f57fcc757b5c4f2c9c814008f6cb003
Don't use Gtk+ tooltip unless Gtk+ version => 2.14.

* gtkutil.c (hierarchy_ch_cb, qttip_cb): Do not define unless
USE_GTK_TOOLTIP.
(xg_prepare_tooltip): Return 0 unless USE_GTK_TOOLTIP
(xg_show_tooltip, xg_hide_tooltip): Do nothing unless
USE_GTK_TOOLTIP.
(xg_create_frame_widgets): Surrond tooltip-related code with ifdef
USE_GTK_TOOLTIP.
(xg_free_frame_widgets): Don't delete ttip_* unless USE_GTK_TOOLTIP.

* xterm.h (USE_GTK_TOOLTIP): New define.
(struct x_output): Put ttip_* inside ifdef USE_GTK_TOOLTIP.
src/ChangeLog
src/gtkutil.c
src/xterm.h