From 2687a2eb8dbf43a021d9494e3be65352f17c6112 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 31 Jul 2018 07:24:58 +0200 Subject: [PATCH] bindings: Remove unused member variables --- gtk/gtkbindings.c | 4 ---- gtk/gtkbindings.h | 8 -------- 2 files changed, 12 deletions(-) diff --git a/gtk/gtkbindings.c b/gtk/gtkbindings.c index 23ae6e0514..3e15fabaa5 100644 --- a/gtk/gtkbindings.c +++ b/gtk/gtkbindings.c @@ -582,12 +582,8 @@ gtk_binding_set_new (const gchar *set_name) binding_set = g_new (GtkBindingSet, 1); binding_set->set_name = (gchar *) g_intern_string (set_name); - binding_set->widget_path_pspecs = NULL; - binding_set->widget_class_pspecs = NULL; - binding_set->class_branch_pspecs = NULL; binding_set->entries = NULL; binding_set->current = NULL; - binding_set->parsed = FALSE; binding_set_list = g_slist_prepend (binding_set_list, binding_set); diff --git a/gtk/gtkbindings.h b/gtk/gtkbindings.h index 67c897acc9..0a172252d4 100644 --- a/gtk/gtkbindings.h +++ b/gtk/gtkbindings.h @@ -47,12 +47,8 @@ typedef struct _GtkBindingArg GtkBindingArg; * GtkBindingSet: * @set_name: unique name of this binding set * @priority: unused - * @widget_path_pspecs: unused - * @widget_class_pspecs: unused - * @class_branch_pspecs: unused * @entries: the key binding entries in this binding set * @current: implementation detail - * @parsed: whether this binding set stems from a CSS file and is reset upon theme changes * * A binding set maintains a list of activatable key bindings. * A single binding set can match multiple types of widgets. @@ -65,12 +61,8 @@ struct _GtkBindingSet { gchar *set_name; gint priority; - GSList *widget_path_pspecs; - GSList *widget_class_pspecs; - GSList *class_branch_pspecs; GtkBindingEntry *entries; GtkBindingEntry *current; - guint parsed : 1; }; /**