diff options
author | Timm Bäder <mail@baedert.org> | 2021-01-17 08:12:14 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2021-01-17 08:12:14 +0100 |
commit | 5ea377759929f5330c95443ced1c5db17b0a9999 (patch) | |
tree | 987e8561cd9e649e812b06df79ba6aa3e7bd9fbe | |
parent | a3949763f2a5bb77f7cd64e07b4d5d9f88f70e6c (diff) | |
download | gtk+-5ea377759929f5330c95443ced1c5db17b0a9999.tar.gz |
widget: Fix gtk_widget_class_add_binding() argument name
-rw-r--r-- | gtk/gtkwidget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index f37f1ddd9b..5ac8b9ac84 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -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; |