mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 23:39:51 +03:00
Replaces MenuIcheck() with calls to menu_icheck()
This commit is contained in:
parent
40313798ee
commit
d5f0ea5155
@ -421,8 +421,8 @@ static void __CDECL menu_debug_render(short item, short title, void *data)
|
||||
browser_get_rect( input_window, BR_CONTENT, &rect );
|
||||
browser_window_reformat(input_window->browser->bw, false,
|
||||
rect.g_w, rect.g_h );
|
||||
MenuIcheck(NULL, MAINMENU_M_DEBUG_RENDER,
|
||||
(html_redraw_debug) ? 1 : 0 );
|
||||
menu_icheck(gem_menu, MAINMENU_M_DEBUG_RENDER,
|
||||
(html_redraw_debug) ? 1 : 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -430,14 +430,14 @@ static void __CDECL menu_debug_render(short item, short title, void *data)
|
||||
static void __CDECL menu_fg_images(short item, short title, void *data)
|
||||
{
|
||||
nsoption_set_bool(foreground_images, !nsoption_bool(foreground_images));
|
||||
MenuIcheck( NULL, MAINMENU_M_FG_IMAGES,
|
||||
menu_icheck(gem_menu, MAINMENU_M_FG_IMAGES,
|
||||
(nsoption_bool(foreground_images)) ? 1 : 0);
|
||||
}
|
||||
|
||||
static void __CDECL menu_bg_images(short item, short title, void *data)
|
||||
{
|
||||
nsoption_set_bool(background_images, !nsoption_bool(background_images));
|
||||
MenuIcheck( NULL, MAINMENU_M_BG_IMAGES,
|
||||
menu_icheck(gem_menu, MAINMENU_M_BG_IMAGES,
|
||||
(nsoption_bool(background_images)) ? 1 : 0);
|
||||
}
|
||||
|
||||
@ -500,8 +500,8 @@ static void __CDECL menu_bookmarks(short item, short title, void *data)
|
||||
static void __CDECL menu_vlog(short item, short title, void *data)
|
||||
{
|
||||
LOG(("%s", __FUNCTION__));
|
||||
verbose_log = !verbose_log;
|
||||
MenuIcheck(NULL, MAINMENU_M_VLOG, (verbose_log) ? 1 : 0 );
|
||||
verbose_log = !verbose_log;
|
||||
menu_icheck(gem_menu, MAINMENU_M_VLOG, (verbose_log) ? 1 : 0);
|
||||
}
|
||||
|
||||
static void __CDECL menu_help_content(short item, short title, void *data)
|
||||
|
Loading…
Reference in New Issue
Block a user