summaryrefslogtreecommitdiff
path: root/gtk/tabs.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-09-05 13:28:17 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-09-05 13:28:17 +0000
commit34fe2531f28b0871a77f629de8c3ee54fb5ad065 (patch)
treec654d5d88a89dd2602a14bd56b9eeab1ddd7f33a /gtk/tabs.c
parentce1ba5e351891c60f21106851965dee3eee78853 (diff)
downloadnetsurf-34fe2531f28b0871a77f629de8c3ee54fb5ad065.tar.gz
netsurf-34fe2531f28b0871a77f629de8c3ee54fb5ad065.tar.bz2
Remove gui_window_get_browser_window from core. Remove unused implementations from front ends. Rename the GTK front end implementation to nsgtk_get_browser_window and change the GTK front end to use that.
svn path=/trunk/netsurf/; revision=12737
Diffstat (limited to 'gtk/tabs.c')
-rw-r--r--gtk/tabs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/tabs.c b/gtk/tabs.c
index 267cc12c7..070385719 100644
--- a/gtk/tabs.c
+++ b/gtk/tabs.c
@@ -78,7 +78,7 @@ void nsgtk_tab_add(struct gui_window *window, GtkWidget *tab_contents, bool back
"blankpage", NULL); */
/* segfaults
struct browser_window *bw =
- gui_window_get_browser_window(window);
+ nsgtk_get_browser_window(window);
browser_window_go(bw, blankpage, 0, true); */
/* free(blankpage); */
}
@@ -191,7 +191,7 @@ void nsgtk_tab_page_changed(GtkNotebook *notebook, gpointer *page,
"gui_window");
if (gw == NULL)
return;
- struct browser_window *bw = gui_window_get_browser_window(gw);
+ struct browser_window *bw = nsgtk_get_browser_window(gw);
if (bw == NULL)
return;