Fix some parameter name mismatches to make g-ir-scanner happier

This commit is contained in:
Rico Tzschichholz 2017-12-09 15:36:35 +01:00
parent b3ebffa07d
commit d872640927
2 changed files with 3 additions and 3 deletions

View File

@ -69,11 +69,11 @@ GDK_AVAILABLE_IN_3_92
GtkEventController *gtk_event_controller_scroll_new (GtkWidget *widget, GtkEventController *gtk_event_controller_scroll_new (GtkWidget *widget,
GtkEventControllerScrollFlags flags); GtkEventControllerScrollFlags flags);
GDK_AVAILABLE_IN_3_92 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); GtkEventControllerScrollFlags flags);
GDK_AVAILABLE_IN_3_92 GDK_AVAILABLE_IN_3_92
GtkEventControllerScrollFlags GtkEventControllerScrollFlags
gtk_event_controller_scroll_get_flags (GtkEventControllerScroll *controller); gtk_event_controller_scroll_get_flags (GtkEventControllerScroll *scroll);
G_END_DECLS G_END_DECLS

View File

@ -491,7 +491,7 @@ gtk_image_new_from_pixbuf (GdkPixbuf *pixbuf)
/** /**
* gtk_image_new_from_texture: * 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. * Creates a new #GtkImage displaying @texture.
* The #GtkImage does not assume a reference to the * The #GtkImage does not assume a reference to the