GtkComboBoxText requires GTK+ 2.24, dump code for older versions

This commit is contained in:
Berke Viktor
2013-05-11 13:06:25 +02:00
parent 5c663adf35
commit 712eb5428e
7 changed files with 10 additions and 26 deletions

View File

@@ -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");