forked from AuroraMiddleware/gtk
bindings: Make gtk_binding_entry_add_signall() private
This function needs a replacement and that will appear after refactorings.
This commit is contained in:
parent
d8d5cc9788
commit
27d6276212
@ -5203,7 +5203,6 @@ GtkBindingSet
|
|||||||
GtkBindingEntry
|
GtkBindingEntry
|
||||||
GtkBindingSignal
|
GtkBindingSignal
|
||||||
GtkBindingArg
|
GtkBindingArg
|
||||||
gtk_binding_entry_add_signall
|
|
||||||
gtk_binding_set_new
|
gtk_binding_set_new
|
||||||
gtk_binding_set_by_class
|
gtk_binding_set_by_class
|
||||||
gtk_binding_set_find
|
gtk_binding_set_find
|
||||||
|
@ -858,7 +858,7 @@ gtk_binding_entry_remove (GtkBindingSet *binding_set,
|
|||||||
binding_entry_destroy (entry);
|
binding_entry_destroy (entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* gtk_binding_entry_add_signall:
|
* gtk_binding_entry_add_signall:
|
||||||
* @binding_set: a #GtkBindingSet to add a signal to
|
* @binding_set: a #GtkBindingSet to add a signal to
|
||||||
* @keyval: key value
|
* @keyval: key value
|
||||||
@ -870,24 +870,12 @@ gtk_binding_entry_remove (GtkBindingSet *binding_set,
|
|||||||
* Override or install a new key binding for @keyval with @modifiers on
|
* Override or install a new key binding for @keyval with @modifiers on
|
||||||
* @binding_set.
|
* @binding_set.
|
||||||
*/
|
*/
|
||||||
void
|
static void
|
||||||
gtk_binding_entry_add_signall (GtkBindingSet *binding_set,
|
gtk_binding_entry_add_signall (GtkBindingSet *binding_set,
|
||||||
guint keyval,
|
guint keyval,
|
||||||
GdkModifierType modifiers,
|
GdkModifierType modifiers,
|
||||||
const gchar *signal_name,
|
const gchar *signal_name,
|
||||||
GSList *binding_args)
|
GSList *binding_args)
|
||||||
{
|
|
||||||
_gtk_binding_entry_add_signall (binding_set,
|
|
||||||
keyval, modifiers,
|
|
||||||
signal_name, binding_args);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
_gtk_binding_entry_add_signall (GtkBindingSet *binding_set,
|
|
||||||
guint keyval,
|
|
||||||
GdkModifierType modifiers,
|
|
||||||
const gchar *signal_name,
|
|
||||||
GSList *binding_args)
|
|
||||||
{
|
{
|
||||||
GtkBindingEntry *entry;
|
GtkBindingEntry *entry;
|
||||||
GtkBindingSignal *signal, **signal_p;
|
GtkBindingSignal *signal, **signal_p;
|
||||||
@ -1060,7 +1048,7 @@ gtk_binding_entry_add_signal (GtkBindingSet *binding_set,
|
|||||||
if (i == n_args || i == 0)
|
if (i == n_args || i == 0)
|
||||||
{
|
{
|
||||||
slist = g_slist_reverse (slist);
|
slist = g_slist_reverse (slist);
|
||||||
_gtk_binding_entry_add_signall (binding_set, keyval, modifiers, signal_name, slist);
|
gtk_binding_entry_add_signall (binding_set, keyval, modifiers, signal_name, slist);
|
||||||
}
|
}
|
||||||
|
|
||||||
free_slist = slist;
|
free_slist = slist;
|
||||||
@ -1212,11 +1200,11 @@ gtk_binding_parse_signal (GScanner *scanner,
|
|||||||
if (!(need_arg && seen_comma) && !negate)
|
if (!(need_arg && seen_comma) && !negate)
|
||||||
{
|
{
|
||||||
args = g_slist_reverse (args);
|
args = g_slist_reverse (args);
|
||||||
_gtk_binding_entry_add_signall (binding_set,
|
gtk_binding_entry_add_signall (binding_set,
|
||||||
keyval,
|
keyval,
|
||||||
modifiers,
|
modifiers,
|
||||||
signal,
|
signal,
|
||||||
args);
|
args);
|
||||||
expected_token = G_TOKEN_NONE;
|
expected_token = G_TOKEN_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -71,12 +71,6 @@ void gtk_binding_entry_add_signal (GtkBindingSet *binding_set,
|
|||||||
const gchar *signal_name,
|
const gchar *signal_name,
|
||||||
guint n_args,
|
guint n_args,
|
||||||
...);
|
...);
|
||||||
GDK_AVAILABLE_IN_ALL
|
|
||||||
void gtk_binding_entry_add_signall (GtkBindingSet *binding_set,
|
|
||||||
guint keyval,
|
|
||||||
GdkModifierType modifiers,
|
|
||||||
const gchar *signal_name,
|
|
||||||
GSList *binding_args);
|
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
GTokenType gtk_binding_entry_add_signal_from_string
|
GTokenType gtk_binding_entry_add_signal_from_string
|
||||||
|
@ -24,11 +24,6 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
guint _gtk_binding_parse_binding (GScanner *scanner);
|
guint _gtk_binding_parse_binding (GScanner *scanner);
|
||||||
void _gtk_binding_reset_parsed (void);
|
void _gtk_binding_reset_parsed (void);
|
||||||
void _gtk_binding_entry_add_signall (GtkBindingSet *binding_set,
|
|
||||||
guint keyval,
|
|
||||||
GdkModifierType modifiers,
|
|
||||||
const gchar *signal_name,
|
|
||||||
GSList *binding_args);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user