mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 01:09:39 +03:00
Fix passing replicant args. Remove debug output.
svn path=/trunk/netsurf/; revision=11029
This commit is contained in:
parent
84ca0e364b
commit
6b5a0c838a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user