forked from AuroraMiddleware/gtk
Remove deprecated GtkMenuToolButton function
This commit is contained in:
parent
7e67ec8414
commit
b7eed8cbff
@ -592,33 +592,6 @@ gtk_menu_tool_button_get_menu (GtkMenuToolButton *button)
|
||||
return GTK_WIDGET (button->priv->menu);
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_menu_tool_button_set_arrow_tooltip:
|
||||
* @button: a #GtkMenuToolButton
|
||||
* @tooltips: the #GtkTooltips object to be used
|
||||
* @tip_text: (allow-none): text to be used as tooltip text for tool_item
|
||||
* @tip_private: (allow-none): text to be used as private tooltip text
|
||||
*
|
||||
* Sets the #GtkTooltips object to be used for arrow button which
|
||||
* pops up the menu. See gtk_tool_item_set_tooltip() for setting
|
||||
* a tooltip on the whole #GtkMenuToolButton.
|
||||
*
|
||||
* Since: 2.6
|
||||
*
|
||||
* Deprecated: 2.12: Use gtk_menu_tool_button_set_arrow_tooltip_text()
|
||||
* instead.
|
||||
**/
|
||||
void
|
||||
gtk_menu_tool_button_set_arrow_tooltip (GtkMenuToolButton *button,
|
||||
GtkTooltips *tooltips,
|
||||
const gchar *tip_text,
|
||||
const gchar *tip_private)
|
||||
{
|
||||
g_return_if_fail (GTK_IS_MENU_TOOL_BUTTON (button));
|
||||
|
||||
gtk_tooltips_set_tip (tooltips, button->priv->arrow_button, tip_text, tip_private);
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_menu_tool_button_set_arrow_tooltip_text:
|
||||
* @button: a #GtkMenuToolButton
|
||||
|
@ -71,14 +71,6 @@ GtkToolItem *gtk_menu_tool_button_new_from_stock (const gchar *stock_id);
|
||||
void gtk_menu_tool_button_set_menu (GtkMenuToolButton *button,
|
||||
GtkWidget *menu);
|
||||
GtkWidget *gtk_menu_tool_button_get_menu (GtkMenuToolButton *button);
|
||||
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
void gtk_menu_tool_button_set_arrow_tooltip (GtkMenuToolButton *button,
|
||||
GtkTooltips *tooltips,
|
||||
const gchar *tip_text,
|
||||
const gchar *tip_private);
|
||||
#endif /* GTK_DISABLE_DEPRECATED */
|
||||
|
||||
void gtk_menu_tool_button_set_arrow_tooltip_text (GtkMenuToolButton *button,
|
||||
const gchar *text);
|
||||
void gtk_menu_tool_button_set_arrow_tooltip_markup (GtkMenuToolButton *button,
|
||||
|
Loading…
Reference in New Issue
Block a user