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

@@ -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 === */