From 880587a05519b5c419d15f0e30d903e7627a245c Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 8 Jul 2010 22:41:42 +0200 Subject: [PATCH] Provide a fallback definition of gtk_menu_item_set_label --- midori/sokoke.h | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.5