[gtk/wip/baedert/for-master] widget: Fix gtk_widget_class_add_binding() argument name



commit 5ea377759929f5330c95443ced1c5db17b0a9999
Author: Timm Bäder <mail baedert org>
Date:   Sun Jan 17 08:12:14 2021 +0100

    widget: Fix gtk_widget_class_add_binding() argument name

 gtk/gtkwidget.c | 4 ++--
 1 file 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]