From: Christian Dywan Date: Thu, 8 Jul 2010 20:41:42 +0000 (+0200) Subject: Provide a fallback definition of gtk_menu_item_set_label X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=880587a05519b5c419d15f0e30d903e7627a245c;p=midori Provide a fallback definition of gtk_menu_item_set_label --- diff --git a/midori/sokoke.h b/midori/sokoke.h index 187cea76..99d91e01 100644 --- a/midori/sokoke.h +++ b/midori/sokoke.h @@ -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)