From e15ab0a277e3cb17e6662720652ec34c55437c2b Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 4 Sep 2019 19:23:06 +0100 Subject: make toolbar and menubar hiding work appropriately --- frontends/gtk/window.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'frontends/gtk/window.h') diff --git a/frontends/gtk/window.h b/frontends/gtk/window.h index b6e00a604..ae3dae16f 100644 --- a/frontends/gtk/window.h +++ b/frontends/gtk/window.h @@ -52,7 +52,12 @@ struct nsgtk_scaffolding *nsgtk_get_scaffold(struct gui_window *gw); * toolbar size and style is changed and the browser window contents * redrawn. */ -void nsgtk_window_update_all(void); +nserror nsgtk_window_update_all(void); + +/** + * Windows associated with a scaffold will have their toolbar show state set + */ +nserror nsgtk_window_toolbar_show(struct nsgtk_scaffolding *gs, bool show); /** * update targets -- cgit v1.2.3