forked from AuroraMiddleware/gtk
bindings: Remove unused member variables
This commit is contained in:
parent
c0bbfd950d
commit
2687a2eb8d
@ -582,12 +582,8 @@ gtk_binding_set_new (const gchar *set_name)
|
|||||||
|
|
||||||
binding_set = g_new (GtkBindingSet, 1);
|
binding_set = g_new (GtkBindingSet, 1);
|
||||||
binding_set->set_name = (gchar *) g_intern_string (set_name);
|
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->entries = NULL;
|
||||||
binding_set->current = NULL;
|
binding_set->current = NULL;
|
||||||
binding_set->parsed = FALSE;
|
|
||||||
|
|
||||||
binding_set_list = g_slist_prepend (binding_set_list, binding_set);
|
binding_set_list = g_slist_prepend (binding_set_list, binding_set);
|
||||||
|
|
||||||
|
@ -47,12 +47,8 @@ typedef struct _GtkBindingArg GtkBindingArg;
|
|||||||
* GtkBindingSet:
|
* GtkBindingSet:
|
||||||
* @set_name: unique name of this binding set
|
* @set_name: unique name of this binding set
|
||||||
* @priority: unused
|
* @priority: unused
|
||||||
* @widget_path_pspecs: unused
|
|
||||||
* @widget_class_pspecs: unused
|
|
||||||
* @class_branch_pspecs: unused
|
|
||||||
* @entries: the key binding entries in this binding set
|
* @entries: the key binding entries in this binding set
|
||||||
* @current: implementation detail
|
* @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 binding set maintains a list of activatable key bindings.
|
||||||
* A single binding set can match multiple types of widgets.
|
* A single binding set can match multiple types of widgets.
|
||||||
@ -65,12 +61,8 @@ struct _GtkBindingSet
|
|||||||
{
|
{
|
||||||
gchar *set_name;
|
gchar *set_name;
|
||||||
gint priority;
|
gint priority;
|
||||||
GSList *widget_path_pspecs;
|
|
||||||
GSList *widget_class_pspecs;
|
|
||||||
GSList *class_branch_pspecs;
|
|
||||||
GtkBindingEntry *entries;
|
GtkBindingEntry *entries;
|
||||||
GtkBindingEntry *current;
|
GtkBindingEntry *current;
|
||||||
guint parsed : 1;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user