Provide a fallback definition of gtk_menu_item_set_label

This commit is contained in:
Christian Dywan 2010-07-08 22:41:42 +02:00
parent cfd00f7fe4
commit 880587a055

View file

@ -40,6 +40,9 @@
#if !GTK_CHECK_VERSION (2, 16, 0)
#define GTK_ACTIVATABLE GTK_WIDGET
#define gtk_activatable_get_related_action gtk_widget_get_action
#define gtk_menu_item_set_label(menuitem, label) \
gtk_label_set_label (GTK_LABEL (GTK_BIN (menuitem)->child), \
label ? label : "");
#endif
#if !GTK_CHECK_VERSION (2, 18, 0)