mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 14:59:47 +03:00
Fix GTK build
svn path=/trunk/netsurf/; revision=2550
This commit is contained in:
parent
9fdd71709d
commit
4113543268
@ -144,7 +144,7 @@ void gui_init2(int argc, char** argv)
|
||||
addr = option_homepage_url;
|
||||
|
||||
if (argc > 1) addr = argv[1];
|
||||
browser_window_create(addr, 0, 0);
|
||||
browser_window_create(addr, 0, 0, true);
|
||||
}
|
||||
|
||||
|
||||
|
@ -410,7 +410,7 @@ void gui_window_home_button_event(GtkWidget *widget, gpointer data)
|
||||
if (g->bw->current_content && g->bw->current_content->url)
|
||||
referer = g->bw->current_content->url;
|
||||
|
||||
browser_window_go(g->bw, addr, referer);
|
||||
browser_window_go(g->bw, addr, referer, true);
|
||||
}
|
||||
|
||||
gboolean gui_window_expose_event(GtkWidget *widget,
|
||||
@ -513,7 +513,7 @@ gboolean gui_window_url_key_press_event(GtkWidget *widget,
|
||||
referer = g->bw->current_content->url;
|
||||
|
||||
browser_window_go(g->bw, gtk_entry_get_text(GTK_ENTRY(g->url_bar)),
|
||||
referer);
|
||||
referer, true);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user