[gnome-characters] libgc: Remove dead code



commit e7bafda35cca61aedd25a15d2c3b5c94a420188e
Author: Daiki Ueno <dueno src gnome org>
Date:   Mon Feb 8 15:22:35 2016 +0900

    libgc: Remove dead code

 lib/gc.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/lib/gc.c b/lib/gc.c
index efb5075..b6bd9f2 100644
--- a/lib/gc.c
+++ b/lib/gc.c
@@ -661,9 +661,6 @@ struct _GcSearchContext
 
 struct SearchData
 {
-  GcCategory category;
-  gchar **keywords;
-  const uc_script_t **scripts;
   gunichar uc;
   gint max_matches;
   GcSearchContext *context;
@@ -672,8 +669,6 @@ struct SearchData
 static void
 search_data_free (struct SearchData *data)
 {
-  g_clear_pointer (&data->keywords, (GDestroyNotify) g_strfreev);
-  g_clear_pointer (&data->scripts, g_free);
   g_clear_object (&data->context);
   g_slice_free (struct SearchData, data);
 }


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