[gtk+] pixelcache: squash warnings introduced by previous commits



commit 6f10fa1f40cb4a8a222ce785590a37d04fcff53d
Author: Christian Hergert <christian hergert me>
Date:   Sun Sep 13 13:40:57 2015 -0700

    pixelcache: squash warnings introduced by previous commits

 gtk/gtkpixelcache.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkpixelcache.c b/gtk/gtkpixelcache.c
index 55d977e..6661f3d 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))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]