mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Remove gtk_menu_button_[sg]et_menu
These functions were never in a stable release, and have been renamed to gtk_menu_button_[sg]et_popup.
This commit is contained in:
parent
0b11e08f87
commit
4b5db54fa7
@ -1564,14 +1564,12 @@ gtk_menu_bar_set_child_pack_direction
|
||||
gtk_menu_bar_set_pack_direction
|
||||
gtk_menu_button_get_align_widget
|
||||
gtk_menu_button_get_direction
|
||||
gtk_menu_button_get_menu
|
||||
gtk_menu_button_get_menu_model
|
||||
gtk_menu_button_get_popup
|
||||
gtk_menu_button_get_type
|
||||
gtk_menu_button_new
|
||||
gtk_menu_button_set_align_widget
|
||||
gtk_menu_button_set_direction
|
||||
gtk_menu_button_set_menu
|
||||
gtk_menu_button_set_menu_model
|
||||
gtk_menu_button_set_popup
|
||||
gtk_menu_detach
|
||||
|
@ -747,19 +747,6 @@ gtk_menu_button_get_popup (GtkMenuButton *menu_button)
|
||||
return GTK_MENU (menu_button->priv->popup);
|
||||
}
|
||||
|
||||
void
|
||||
gtk_menu_button_set_menu (GtkMenuButton *menu_button,
|
||||
GtkWidget *menu)
|
||||
{
|
||||
gtk_menu_button_set_popup (menu_button, menu);
|
||||
}
|
||||
|
||||
GtkMenu *
|
||||
gtk_menu_button_get_menu (GtkMenuButton *menu_button)
|
||||
{
|
||||
return gtk_menu_button_get_popup (menu_button);
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_menu_button_set_menu_model:
|
||||
* @menu_button: a #GtkMenuButton
|
||||
|
@ -71,12 +71,6 @@ void gtk_menu_button_set_popup (GtkMenuButton *menu_button,
|
||||
GDK_AVAILABLE_IN_3_6
|
||||
GtkMenu *gtk_menu_button_get_popup (GtkMenuButton *menu_button);
|
||||
|
||||
GDK_DEPRECATED_IN_3_6_FOR(gtk_menu_button_set_popup)
|
||||
void gtk_menu_button_set_menu (GtkMenuButton *menu_button,
|
||||
GtkWidget *menu);
|
||||
GDK_DEPRECATED_IN_3_6_FOR(gtk_menu_button_get_popup)
|
||||
GtkMenu *gtk_menu_button_get_menu (GtkMenuButton *menu_button);
|
||||
|
||||
GDK_AVAILABLE_IN_3_6
|
||||
void gtk_menu_button_set_direction (GtkMenuButton *menu_button,
|
||||
GtkArrowType direction);
|
||||
|
Loading…
Reference in New Issue
Block a user