summaryrefslogtreecommitdiff
path: root/gtk/gtkmenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkmenu.h')
-rw-r--r--gtk/gtkmenu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkmenu.h b/gtk/gtkmenu.h
index 75f51c2a8..9acfb410b 100644
--- a/gtk/gtkmenu.h
+++ b/gtk/gtkmenu.h
@@ -178,6 +178,12 @@ void gtk_menu_reorder_child (GtkMenu *menu,
GtkWidget *child,
gint position);
+#ifndef GTK_DISABLE_DEPRECATED
+#define gtk_menu_append gtk_menu_shell_append
+#define gtk_menu_prepend gtk_menu_shell_prepend
+#define gtk_menu_insert gtk_menu_shell_insert
+#endif /* GTK_DISABLE_DEPRECATED */
+
#ifdef __cplusplus
}
#endif /* __cplusplus */