diff options
Diffstat (limited to 'gtk/gtkmenubar.h')
-rw-r--r-- | gtk/gtkmenubar.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gtk/gtkmenubar.h b/gtk/gtkmenubar.h index 195f94ee35..658af17c41 100644 --- a/gtk/gtkmenubar.h +++ b/gtk/gtkmenubar.h @@ -61,13 +61,12 @@ struct _GtkMenuBarClass GtkType gtk_menu_bar_get_type (void) G_GNUC_CONST; GtkWidget* gtk_menu_bar_new (void); -void gtk_menu_bar_append (GtkMenuBar *menu_bar, - GtkWidget *child); -void gtk_menu_bar_prepend (GtkMenuBar *menu_bar, - GtkWidget *child); -void gtk_menu_bar_insert (GtkMenuBar *menu_bar, - GtkWidget *child, - gint position); + +#ifndef GTK_DISABLE_DEPRECATED +#define gtk_menu_bar_append(menu,child) gtk_menu_shell_append ((GtkMenuShell *)(menu),(child)) +#define gtk_menu_bar_prepend(menu_child) gtk_menu_shell_prepend ((GtkMenuShell *)(menu),(child)) +#define gtk_menu_bar_insert(menu,child,pos) gtk_menu_shell_prepend ((GtkMenuShell *)(menu),(child),(pos)) +#endif /* GTK_DISABLE_DEPRECATED */ #ifdef __cplusplus } |