Fix GTK build

svn path=/trunk/netsurf/; revision=2550
This commit is contained in:
John Mark Bell 2006-04-22 22:10:08 +00:00
parent 9fdd71709d
commit 4113543268
2 changed files with 25 additions and 25 deletions

View File

@ -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);
}

View File

@ -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;
}