From 6b5a0c838af50ea805ee2564d1d934e6e01e67ac Mon Sep 17 00:00:00 2001 From: François Revel Date: Sun, 12 Dec 2010 00:47:22 +0000 Subject: Fix passing replicant args. Remove debug output. svn path=/trunk/netsurf/; revision=11029 --- beos/beos_scaffolding.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/beos/beos_scaffolding.cpp b/beos/beos_scaffolding.cpp index f35caee93..265fd2501 100644 --- a/beos/beos_scaffolding.cpp +++ b/beos/beos_scaffolding.cpp @@ -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; -- cgit v1.2.3