summaryrefslogtreecommitdiff
path: root/libmetacity/meta-draw-op.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmetacity/meta-draw-op.c')
-rw-r--r--libmetacity/meta-draw-op.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libmetacity/meta-draw-op.c b/libmetacity/meta-draw-op.c
index 3d503fa7..97bc1b43 100644
--- a/libmetacity/meta-draw-op.c
+++ b/libmetacity/meta-draw-op.c
@@ -22,7 +22,6 @@
#include <math.h>
#include "meta-draw-op-private.h"
-#include "meta-theme-impl-private.h"
#define GDK_COLOR_RGB(color) \
((guint32) (((int)((color).red * 255) << 16) | \
@@ -576,7 +575,7 @@ draw_op_draw_with_env (const MetaDrawOp *op,
gdouble rx, ry, rwidth, rheight;
cairo_surface_t *surface;
- scale = get_window_scaling_factor ();
+ scale = info->scale;
cairo_scale (cr, 1.0 / scale, 1.0 / scale);
if (op->data.image.pixbuf)