summaryrefslogtreecommitdiff
path: root/frontends/beos
diff options
context:
space:
mode:
authorFran├žois Revol <revol@free.fr>2017-08-21 02:29:58 +0200
committerFran├žois Revol <revol@free.fr>2017-08-21 02:29:58 +0200
commitaedd9b55132bb48f6d25ae4c080dc0ce71efb44d (patch)
tree297a66fcfb5ee452fa90df85bfd4808584df8277 /frontends/beos
parent8c29c675c4301c90f5038a27aa31fa640f47e5aa (diff)
downloadnetsurf-aedd9b55132bb48f6d25ae4c080dc0ce71efb44d.tar.gz
netsurf-aedd9b55132bb48f6d25ae4c080dc0ce71efb44d.tar.bz2
Fix bug 0002555: "No GC" alert when resizing the window
We don't need to touch the GC when invalidating anyway, so just drop those calls.
Diffstat (limited to 'frontends/beos')
-rw-r--r--frontends/beos/window.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/frontends/beos/window.cpp b/frontends/beos/window.cpp
index 8acb20a37..fde818df2 100644
--- a/frontends/beos/window.cpp
+++ b/frontends/beos/window.cpp
@@ -1000,8 +1000,6 @@ beos_window_invalidate_area(struct gui_window *g, const struct rect *rect)
return NSERROR_OK;
}
- nsbeos_current_gc_set(g->view);
-
if (rect != NULL) {
//XXX +1 ??
g->view->Invalidate(BRect(rect->x0, rect->y0,
@@ -1010,7 +1008,6 @@ beos_window_invalidate_area(struct gui_window *g, const struct rect *rect)
g->view->Invalidate();
}
- nsbeos_current_gc_set(NULL);
g->view->UnlockLooper();
return NSERROR_OK;