diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-02-09 13:07:39 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-02-09 13:07:39 +0000 |
commit | ea79e85fcd109a5bf5f222cece8435305fc8626a (patch) | |
tree | b8d846b7e6a82c0dc88360ba0118187d712f160f /framebuffer/gui.c | |
parent | 987218e144f95e1917f1eb8956fed8a712ec3a70 (diff) | |
download | netsurf-ea79e85fcd109a5bf5f222cece8435305fc8626a.tar.gz netsurf-ea79e85fcd109a5bf5f222cece8435305fc8626a.tar.bz2 |
Clean up gui_window creation API.
Diffstat (limited to 'framebuffer/gui.c')
-rw-r--r-- | framebuffer/gui.c | 7 |
1 files changed, 3 insertions, 4 deletions
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; |