mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-13 09:10:20 +00:00
GtkComboBoxText requires GTK+ 2.24, dump code for older versions
This commit is contained in:
@@ -1729,11 +1729,7 @@ static gboolean
|
||||
menu_canacaccel (GtkWidget *widget, guint signal_id, gpointer user_data)
|
||||
{
|
||||
/* GTK2.2 behaviour */
|
||||
#if GTK_CHECK_VERSION(2,20,0)
|
||||
return gtk_widget_is_sensitive (widget);
|
||||
#else
|
||||
return GTK_WIDGET_IS_SENSITIVE (widget);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* === STUFF FOR /MENU === */
|
||||
|
||||
Reference in New Issue
Block a user