Fix passing replicant args. Remove debug output.

svn path=/trunk/netsurf/; revision=11029
This commit is contained in:
François Revel 2010-12-12 00:47:22 +00:00
parent 84ca0e364b
commit 6b5a0c838a

View File

@ -342,7 +342,7 @@ NSBaseView::NSBaseView(BMessage *archive)
NSBaseView::~NSBaseView()
{
warn_user ("~NSBaseView()", NULL);
//warn_user ("~NSBaseView()", NULL);
}
@ -508,7 +508,7 @@ NSBaseView::Instantiate(BMessage *archive)
replicant_done_sem = create_sem(0, "NS Replicant created");
thread_id nsMainThread = spawn_thread(nsbeos_replicant_main_thread,
"NetSurf Main Thread", B_NORMAL_PRIORITY, &info);
"NetSurf Main Thread", B_NORMAL_PRIORITY, info);
if (nsMainThread < B_OK) {
delete_sem(replicant_done_sem);
delete info;
@ -1618,8 +1618,6 @@ nsbeos_scaffolding *nsbeos_new_scaffolding(struct gui_window *toplevel)
g->menu_bar = NULL;
g->window = NULL;
printf ("repli: %p\n", replicant_view);
if (replicated && !replicant_view) {
warn_user("Error: No subwindow allowed when replicated.", NULL);
return NULL;