mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +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,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user