[gnome-font-viewer] font-model: remove unused struct field



commit 5599b6c4ba663113b73d9913cd9a0fb0266c20f0
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Jul 4 14:22:51 2019 -0700

    font-model: remove unused struct field

 src/font-model.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/font-model.c b/src/font-model.c
index bd6d266..d06b76f 100644
--- a/src/font-model.c
+++ b/src/font-model.c
@@ -144,7 +144,6 @@ font_view_model_get_iter_for_face (FontViewModel *self,
 typedef struct {
     FontViewModel *self;
     GFile *font_file;
-    gchar *font_path;
     gint face_index;
     gchar *uri;
     cairo_surface_t *surface;
@@ -159,7 +158,6 @@ thumb_info_data_free (gpointer user_data)
     g_object_unref (thumb_info->self);
     g_object_unref (thumb_info->font_file);
     g_clear_pointer (&thumb_info->surface, cairo_surface_destroy);
-    g_free (thumb_info->font_path);
     g_free (thumb_info->uri);
 
     g_slice_free (ThumbInfoData, thumb_info);


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