Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/aedd9b55132bb48f6d25ae4c080dc0ce71efb44d
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/aedd9b55132bb48f6d25ae4c080dc0ce71efb44d
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/aedd9b55132bb48f6d25ae4c080dc0ce71efb44d

The branch, master has been updated
       via  aedd9b55132bb48f6d25ae4c080dc0ce71efb44d (commit)
      from  8c29c675c4301c90f5038a27aa31fa640f47e5aa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=aedd9b55132bb48f6d25ae4c080dc0ce71efb44d
commit aedd9b55132bb48f6d25ae4c080dc0ce71efb44d
Author: François Revol <[email protected]>
Commit: François Revol <[email protected]>

    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.

diff --git a/frontends/beos/window.cpp b/frontends/beos/window.cpp
index 8acb20a..fde818d 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;


-----------------------------------------------------------------------

Summary of changes:
 frontends/beos/window.cpp |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/frontends/beos/window.cpp b/frontends/beos/window.cpp
index 8acb20a..fde818d 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;


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to