diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-08-23 23:30:43 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-08-23 23:30:43 +0000 |
commit | f0f3c6bfd28f66aebd5bf611056849cca647f7f6 (patch) | |
tree | d7fdecb388cc56973dd0d0677861f177158199e7 /gtk/gtkmenu.h | |
parent | 9751c05b33c3c77e48ee9517a54c307e3041af2f (diff) | |
download | gtk+-f0f3c6bfd28f66aebd5bf611056849cca647f7f6.tar.gz |
Deprecate gtk_menu_bar_append/prepend/insert, forgot to do this when we
Thu Aug 23 19:10:01 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenubar.h (gtk_menu_bar_insert): Deprecate
gtk_menu_bar_append/prepend/insert, forgot to do this
when we deprecated gtk_menu_append/prepend/insert.
* gtk/gtkmenu.h (gtk_menu_insert): Add casts to deprecated
compat macros.
* gtk/gtkmenu.c: Fix problem with static gtk_menu_insert() being
renamed by compat macro.
* gtk/gtkfontsel.h: Deprecated gtk_font_selection_get_font(),
gtk_font_selection_dialog_get_font(). (Suggested by
Vitaly Tishkov, #59383)
Diffstat (limited to 'gtk/gtkmenu.h')
-rw-r--r-- | gtk/gtkmenu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkmenu.h b/gtk/gtkmenu.h index 9acfb410b0..1afe0ec076 100644 --- a/gtk/gtkmenu.h +++ b/gtk/gtkmenu.h @@ -179,9 +179,9 @@ void gtk_menu_reorder_child (GtkMenu *menu, 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 +#define gtk_menu_append(menu,child) gtk_menu_shell_append ((GtkMenuShell *)(menu),(child)) +#define gtk_menu_prepend(menu_child) gtk_menu_shell_prepend ((GtkMenuShell *)(menu),(child)) +#define gtk_menu_insert(menu,child,pos) gtk_menu_shell_prepend ((GtkMenuShell *)(menu),(child),(pos)) #endif /* GTK_DISABLE_DEPRECATED */ #ifdef __cplusplus |