forked from AuroraMiddleware/gtk
GtkMenuButton: remove menu property as it is replaced by popup.
See that it was already announced to be removed before 3.6.0 but we forgot.
This commit is contained in:
parent
a021b72c71
commit
7c6454246e
@ -516,22 +516,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
|
|||||||
P_("The dropdown menu."),
|
P_("The dropdown menu."),
|
||||||
GTK_TYPE_MENU,
|
GTK_TYPE_MENU,
|
||||||
G_PARAM_READWRITE));
|
G_PARAM_READWRITE));
|
||||||
/**
|
|
||||||
* GtkMenuButton:menu:
|
|
||||||
*
|
|
||||||
* The #GtkMenu that will be popped up when the button is clicked.
|
|
||||||
* This property has been renamed to "popup". "menu" will be
|
|
||||||
* removed before 3.6.0.
|
|
||||||
*
|
|
||||||
* Since: 3.6
|
|
||||||
*/
|
|
||||||
g_object_class_install_property (gobject_class,
|
|
||||||
PROP_POPUP, /* [sic] */
|
|
||||||
g_param_spec_object ("menu",
|
|
||||||
P_("menu"),
|
|
||||||
P_("The dropdown menu."),
|
|
||||||
GTK_TYPE_MENU,
|
|
||||||
G_PARAM_DEPRECATED | G_PARAM_READWRITE));
|
|
||||||
/**
|
/**
|
||||||
* GtkMenuButton:menu-model:
|
* GtkMenuButton:menu-model:
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user