mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 16:00:18 +00:00
GtkComboBoxText requires GTK+ 2.24, dump code for older versions
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user