From 94e7b44ebc1710eed0f870428ddb5bfcd85858fa Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 14 Feb 2011 22:05:39 +0000 Subject: Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct. svn path=/trunk/netsurf/; revision=11683 --- gtk/thumbnail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/thumbnail.c') diff --git a/gtk/thumbnail.c b/gtk/thumbnail.c index f0a25ce30..de359535b 100644 --- a/gtk/thumbnail.c +++ b/gtk/thumbnail.c @@ -106,7 +106,7 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap, #endif plot.rectangle(0, 0, cwidth, cwidth, plot_style_fill_white); - plot.clip(clip.x0, clip.y0, clip.x1, clip.y1); + plot.clip(&clip); /* render the content */ content_redraw(content, 0, 0, content_get_width(content), -- cgit v1.2.3