Updating branch refs/heads/master
to 880587a05519b5c419d15f0e30d903e7627a245c (commit)
from cfd00f7fe4bbb9804e7c33c23b453642b37369f1 (commit)
commit 880587a05519b5c419d15f0e30d903e7627a245c
Author: Christian Dywan <[email protected]>
Date: Thu Jul 8 22:41:42 2010 +0200
Provide a fallback definition of gtk_menu_item_set_label
midori/sokoke.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/midori/sokoke.h b/midori/sokoke.h
index 187cea7..99d91e0 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)
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits