diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-09 21:04:15 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-09 21:04:15 +0000 |
commit | 55fd1d0133d30ed68f29860fa867f17c1e7f78b4 (patch) | |
tree | ef91354d74bd1585616f8a6299b7b27082fbbd12 /gtk | |
parent | a0e0d23c2df487d48ff12f7abdc35e05b1861dd1 (diff) | |
download | netsurf-55fd1d0133d30ed68f29860fa867f17c1e7f78b4.tar.gz netsurf-55fd1d0133d30ed68f29860fa867f17c1e7f78b4.tar.bz2 |
Front ends don't need to call thumbnail_get_redraw_scale() now.
svn path=/trunk/netsurf/; revision=11946
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/thumbnail.c | 4 |
1 files changed, 0 insertions, 4 deletions
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); |