summaryrefslogtreecommitdiff
path: root/gtk/gtkpixelcache.c
diff options
context:
space:
mode:
authorChristian Hergert <christian@hergert.me>2015-09-13 13:40:57 -0700
committerChristian Hergert <christian@hergert.me>2015-09-13 13:41:19 -0700
commit6f10fa1f40cb4a8a222ce785590a37d04fcff53d (patch)
tree6c3ec32da5ae10eca0369d907899285d744f00b9 /gtk/gtkpixelcache.c
parenta3605bc5573253bfbb1e16ca762ce7bcc8700c02 (diff)
downloadgtk+-6f10fa1f40cb4a8a222ce785590a37d04fcff53d.tar.gz
pixelcache: squash warnings introduced by previous commits
Diffstat (limited to 'gtk/gtkpixelcache.c')
-rw-r--r--gtk/gtkpixelcache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkpixelcache.c b/gtk/gtkpixelcache.c
index 55d977e9d7..6661f3d007 100644
--- a/gtk/gtkpixelcache.c
+++ b/gtk/gtkpixelcache.c
@@ -19,6 +19,7 @@
#include "gtkdebug.h"
#include "gtkpixelcacheprivate.h"
+#include "gtkstylecontextprivate.h"
#define BLOW_CACHE_TIMEOUT_SEC 20
@@ -186,8 +187,6 @@ _gtk_pixel_cache_create_surface_if_needed (GtkPixelCache *cache,
cairo_rectangle_int_t rect;
int surface_w, surface_h;
cairo_content_t content;
- cairo_pattern_t *bg;
- double red, green, blue, alpha;
#ifdef G_ENABLE_DEBUG
if (GTK_DEBUG_CHECK (NO_PIXEL_CACHE))