summary refs log tree commit diff stats
path: root/src/fe-gtk/plugin-tray.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-05-11 13:06:25 +0200
committerBerke Viktor <bviktor@hexchat.org>2013-05-11 13:06:25 +0200
commit712eb5428e1b2aa2a9edfb3eb95375f0fca29ff5 (patch)
tree817e53bef3e34afc7be943c1b90cdf6b1cc5a6cd /src/fe-gtk/plugin-tray.c
parent5c663adf3518701db794e11c3d332423f51b9f0e (diff)
GtkComboBoxText requires GTK+ 2.24, dump code for older versions
Diffstat (limited to 'src/fe-gtk/plugin-tray.c')
-rw-r--r--src/fe-gtk/plugin-tray.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fe-gtk/plugin-tray.c b/src/fe-gtk/plugin-tray.c
index 501dc0cd..d0196bcb 100644
--- a/src/fe-gtk/plugin-tray.c
+++ b/src/fe-gtk/plugin-tray.c
@@ -414,11 +414,7 @@ tray_toggle_visibility (gboolean force_hide)
 	if (!win)
 		return FALSE;
 
-#if GTK_CHECK_VERSION(2,20,0)
 	if (force_hide || gtk_widget_get_visible (GTK_WIDGET (win)))
-#else
-	if (force_hide || GTK_WIDGET_VISIBLE (win))
-#endif
 	{
 		if (prefs.hex_gui_tray_away)
 			hexchat_command (ph, "ALLSERV AWAY");