From ad205c1d6630b888ffd24fe884f158f769a5f2e5 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 6 Jul 2011 12:56:31 +0000 Subject: Fix up Monkey for r12574 API change. svn path=/trunk/netsurf/; revision=12581 --- monkey/browser.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'monkey') diff --git a/monkey/browser.c b/monkey/browser.c index 41165679f..3d695711b 100644 --- a/monkey/browser.c +++ b/monkey/browser.c @@ -179,12 +179,11 @@ gui_window_set_scroll(struct gui_window *g, int sx, int sy) } void -gui_window_update_box(struct gui_window *g, - const union content_msg_data *data) +gui_window_update_box(struct gui_window *g, const struct rect *rect) { fprintf(stdout, "WINDOW UPDATE_BOX WIN %u X %d Y %d WIDTH %d HEIGHT %d\n", - g->win_num, data->redraw.x, data->redraw.y, - data->redraw.width, data->redraw.height); + g->win_num, rect->x0, rect->y0, + (rect->x1 - rect->x0), (rect->y1 - rect->y0)); } -- cgit v1.2.3