mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 06:48:17 +00:00
Macro cleanup: FEAT_TOOLBAR
This commit is contained in:

committed by
Justin M. Keyes

parent
343040f318
commit
5360324974
@@ -460,7 +460,7 @@ add_menu_path (
|
|||||||
menu->silent[i] = menuarg->silent[0];
|
menu->silent[i] = menuarg->silent[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if defined(FEAT_TOOLBAR) && defined(FEAT_GUI_GTK)
|
#if defined(FEAT_GUI_GTK)
|
||||||
/* Need to update the menu tip. */
|
/* Need to update the menu tip. */
|
||||||
if (modes & MENU_TIP_MODE)
|
if (modes & MENU_TIP_MODE)
|
||||||
gui_mch_menu_set_tip(menu);
|
gui_mch_menu_set_tip(menu);
|
||||||
@@ -612,7 +612,7 @@ remove_menu (
|
|||||||
menu->modes |= child->modes;
|
menu->modes |= child->modes;
|
||||||
if (modes & MENU_TIP_MODE) {
|
if (modes & MENU_TIP_MODE) {
|
||||||
free_menu_string(menu, MENU_INDEX_TIP);
|
free_menu_string(menu, MENU_INDEX_TIP);
|
||||||
#if defined(FEAT_TOOLBAR) && defined(FEAT_GUI_GTK)
|
#if defined(FEAT_GUI_GTK)
|
||||||
/* Need to update the menu tip. */
|
/* Need to update the menu tip. */
|
||||||
if (gui.in_use)
|
if (gui.in_use)
|
||||||
gui_mch_menu_set_tip(menu);
|
gui_mch_menu_set_tip(menu);
|
||||||
|
Reference in New Issue
Block a user