[gtk+] GskVulkanGlyphCache: Remove unused struct member



commit 34e233e1c33adc2a53dd74cbfea1126d44deb771
Author: Timm Bäder <mail baedert org>
Date:   Fri Nov 17 20:32:11 2017 +0100

    GskVulkanGlyphCache: Remove unused struct member

 gsk/gskvulkanglyphcache.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gsk/gskvulkanglyphcache.c b/gsk/gskvulkanglyphcache.c
index c326c56..a17717f 100644
--- a/gsk/gskvulkanglyphcache.c
+++ b/gsk/gskvulkanglyphcache.c
@@ -23,7 +23,6 @@
 
 
 typedef struct {
-  cairo_surface_t *surface;
   GskVulkanImage *image;
   int width, height;
   int x, y, y0;
@@ -79,8 +78,6 @@ free_atlas (gpointer v)
 {
   Atlas *atlas = v;
 
-  if (atlas->surface)
-    cairo_surface_destroy (atlas->surface);
   g_clear_object (&atlas->image);
   g_list_free_full (atlas->dirty_glyphs, dirty_glyph_free);
   g_free (atlas);


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