[gtk/gbsneto/shortcuts-rebased: 8/105] bindings: Remove unused member variables
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gbsneto/shortcuts-rebased: 8/105] bindings: Remove unused member variables
- Date: Tue, 14 May 2019 15:03:48 +0000 (UTC)
commit 44b86de1c3d6792a22699cff3a5a64215790c5a5
Author: Benjamin Otte <otte redhat com>
Date: Tue Jul 31 07:24:58 2018 +0200
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;
};
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]