From aedd9b55132bb48f6d25ae4c080dc0ce71efb44d Mon Sep 17 00:00:00 2001 From: François Revol Date: Mon, 21 Aug 2017 02:29:58 +0200 Subject: 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. --- frontends/beos/window.cpp | 3 --- 1 file changed, 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; -- cgit v1.2.3