mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-08 11:40:16 +00:00
widget: Fix gtk_widget_class_add_binding() argument name
This commit is contained in:
parent
a3949763f2
commit
5ea3777599
@ -4185,7 +4185,7 @@ void
|
|||||||
gtk_widget_class_add_binding (GtkWidgetClass *widget_class,
|
gtk_widget_class_add_binding (GtkWidgetClass *widget_class,
|
||||||
guint keyval,
|
guint keyval,
|
||||||
GdkModifierType mods,
|
GdkModifierType mods,
|
||||||
GtkShortcutFunc func,
|
GtkShortcutFunc callback,
|
||||||
const char *format_string,
|
const char *format_string,
|
||||||
...)
|
...)
|
||||||
{
|
{
|
||||||
@ -4194,7 +4194,7 @@ gtk_widget_class_add_binding (GtkWidgetClass *widget_class,
|
|||||||
g_return_if_fail (GTK_IS_WIDGET_CLASS (widget_class));
|
g_return_if_fail (GTK_IS_WIDGET_CLASS (widget_class));
|
||||||
|
|
||||||
shortcut = gtk_shortcut_new (gtk_keyval_trigger_new (keyval, mods),
|
shortcut = gtk_shortcut_new (gtk_keyval_trigger_new (keyval, mods),
|
||||||
gtk_callback_action_new (func, NULL, NULL));
|
gtk_callback_action_new (callback, NULL, NULL));
|
||||||
if (format_string)
|
if (format_string)
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
|
Loading…
Reference in New Issue
Block a user