From d872640927e501caa7dc0b87c0eaadc5fb33b648 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Sat, 9 Dec 2017 15:36:35 +0100 Subject: [PATCH] Fix some parameter name mismatches to make g-ir-scanner happier --- gtk/gtkeventcontrollerscroll.h | 4 ++-- gtk/gtkimage.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/gtkeventcontrollerscroll.h b/gtk/gtkeventcontrollerscroll.h index 55295fe05c..ed5d976a99 100644 --- a/gtk/gtkeventcontrollerscroll.h +++ b/gtk/gtkeventcontrollerscroll.h @@ -69,11 +69,11 @@ GDK_AVAILABLE_IN_3_92 GtkEventController *gtk_event_controller_scroll_new (GtkWidget *widget, GtkEventControllerScrollFlags flags); GDK_AVAILABLE_IN_3_92 -void gtk_event_controller_scroll_set_flags (GtkEventControllerScroll *controller, +void gtk_event_controller_scroll_set_flags (GtkEventControllerScroll *scroll, GtkEventControllerScrollFlags flags); GDK_AVAILABLE_IN_3_92 GtkEventControllerScrollFlags - gtk_event_controller_scroll_get_flags (GtkEventControllerScroll *controller); + gtk_event_controller_scroll_get_flags (GtkEventControllerScroll *scroll); G_END_DECLS diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c index 629319772b..64f47ea0d9 100644 --- a/gtk/gtkimage.c +++ b/gtk/gtkimage.c @@ -491,7 +491,7 @@ gtk_image_new_from_pixbuf (GdkPixbuf *pixbuf) /** * gtk_image_new_from_texture: - * @pixbuf: (allow-none): a #GdkTexture, or %NULL + * @texture: (allow-none): a #GdkTexture, or %NULL * * Creates a new #GtkImage displaying @texture. * The #GtkImage does not assume a reference to the