From 55fd1d0133d30ed68f29860fa867f17c1e7f78b4 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 9 Mar 2011 21:04:15 +0000 Subject: Front ends don't need to call thumbnail_get_redraw_scale() now. svn path=/trunk/netsurf/; revision=11946 --- gtk/thumbnail.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gtk') diff --git a/gtk/thumbnail.c b/gtk/thumbnail.c index 1935413f4..6f9e341b2 100644 --- a/gtk/thumbnail.c +++ b/gtk/thumbnail.c @@ -57,7 +57,6 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap, gint depth; GdkPixmap *pixmap; GdkPixbuf *big; - float plot_scale; double scale; assert(content); @@ -97,9 +96,6 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap, /* set the plotting functions up */ plot = nsgtk_plotters; - /* Plotters need to know thumbnail scale */ - plot_scale = thumbnail_get_redraw_scale(content, cwidth); - /* set to plot to pixmap */ current_drawable = pixmap; current_gc = gdk_gc_new(current_drawable); -- cgit v1.2.3