summaryrefslogtreecommitdiff
path: root/gtk/window.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-08-24 13:35:27 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-08-24 13:35:27 +0000
commit1bcfb7500b6914a07063b07c2726437a0ba5fa83 (patch)
treeceb87ffece6644218b565d127c4e81408832e4e4 /gtk/window.c
parent42467f16dd454fad9d6a1b98e6951705504a4c30 (diff)
downloadnetsurf-1bcfb7500b6914a07063b07c2726437a0ba5fa83.tar.gz
Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12655
Diffstat (limited to 'gtk/window.c')
-rw-r--r--gtk/window.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk/window.c b/gtk/window.c
index b9aee38d2..cf32c3883 100644
--- a/gtk/window.c
+++ b/gtk/window.c
@@ -179,8 +179,6 @@ static gboolean nsgtk_window_expose_event(GtkWidget *widget,
current_cr = gdk_cairo_create(current_drawable);
#endif
- current_redraw_browser = g->bw;
-
clip.x0 = event->area.x;
clip.y0 = event->area.y;
clip.x1 = event->area.x + event->area.width;
@@ -188,8 +186,6 @@ static gboolean nsgtk_window_expose_event(GtkWidget *widget,
browser_window_redraw(g->bw, 0, 0, &clip, &ctx);
- current_redraw_browser = NULL;
-
if (g->careth != 0)
nsgtk_plot_caret(g->caretx, g->carety, g->careth);