[gtk+] inspector: Remove unused hash table



commit ebb64c2288aff6bd70d349771cc564d36b2f27b0
Author: Benjamin Otte <otte redhat com>
Date:   Sun Jan 18 00:17:57 2015 +0100

    inspector: Remove unused hash table

 gtk/inspector/style-prop-list.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gtk/inspector/style-prop-list.c b/gtk/inspector/style-prop-list.c
index ab29f9b..45fac8d 100644
--- a/gtk/inspector/style-prop-list.c
+++ b/gtk/inspector/style-prop-list.c
@@ -47,7 +47,6 @@ enum
 
 struct _GtkInspectorStylePropListPrivate
 {
-  GHashTable *css_files;
   GtkListStore *model;
   GtkWidget *widget;
   GtkWidget *tree;
@@ -203,8 +202,6 @@ gtk_inspector_style_prop_list_init (GtkInspectorStylePropList *pl)
                                         GTK_SORT_ASCENDING);
   gtk_tree_view_set_search_entry (GTK_TREE_VIEW (pl->priv->tree),
                                   GTK_ENTRY (pl->priv->search_entry));
-  pl->priv->css_files = g_hash_table_new_full (g_file_hash, (GEqualFunc) g_file_equal,
-                                           g_object_unref, (GDestroyNotify) g_strfreev);
 
   pl->priv->prop_iters = g_hash_table_new_full (g_str_hash,
                                                 g_str_equal,
@@ -247,7 +244,6 @@ finalize (GObject *object)
 {
   GtkInspectorStylePropList *pl = GTK_INSPECTOR_STYLE_PROP_LIST (object);
 
-  g_hash_table_unref (pl->priv->css_files);
   g_hash_table_unref (pl->priv->prop_iters);
 
   G_OBJECT_CLASS (gtk_inspector_style_prop_list_parent_class)->finalize (object);


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