[gtk+/wip/baedert/gl: 7/8] GskVulkanGlyphCache: Remove unused struct member



commit 431583b93bdfbe918cbcc85e1ce5c441b0bf217a
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]