widget: Fix gtk_widget_class_add_binding() argument name

This commit is contained in:
Timm Bäder 2021-01-17 08:12:14 +01:00
parent a3949763f2
commit 5ea3777599

View File

@ -4185,7 +4185,7 @@ void
gtk_widget_class_add_binding (GtkWidgetClass *widget_class,
guint keyval,
GdkModifierType mods,
GtkShortcutFunc func,
GtkShortcutFunc callback,
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));
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)
{
va_list args;