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:
Matthias Clasen 2012-09-24 00:08:30 -04:00
parent 0b11e08f87
commit 4b5db54fa7
3 changed files with 0 additions and 21 deletions

View File

@ -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

View File

@ -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

View File

@ -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);