From ea79e85fcd109a5bf5f222cece8435305fc8626a Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 9 Feb 2014 13:07:39 +0000 Subject: Clean up gui_window creation API. --- framebuffer/gui.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'framebuffer') diff --git a/framebuffer/gui.c b/framebuffer/gui.c index 2cceba9c5..dc81a577f 100644 --- a/framebuffer/gui.c +++ b/framebuffer/gui.c @@ -1507,8 +1507,8 @@ create_normal_browser_window(struct gui_window *gw, int furniture_width) static struct gui_window * gui_window_create(struct browser_window *bw, - struct browser_window *clone, - bool new_tab) + struct gui_window *existing, + gui_window_create_flags flags) { struct gui_window *gw; @@ -1517,8 +1517,7 @@ gui_window_create(struct browser_window *bw, if (gw == NULL) return NULL; - /* seems we need to associate the gui window with the underlying - * browser window + /* associate the gui window with the underlying browser window */ gw->bw = bw; -- cgit v1.2.3