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

This commit is contained in:
Rico Tzschichholz 2017-11-28 15:20:14 +01:00
parent cabfdd5c48
commit 2d797dd816
9 changed files with 10 additions and 12 deletions

View File

@ -102,7 +102,7 @@ gdk_content_formats_new_take (GType * gtypes,
* gdk_content_formats_new: * gdk_content_formats_new:
* @mime_types: (array length=n_mime_types) (allow-none): Pointer to an * @mime_types: (array length=n_mime_types) (allow-none): Pointer to an
* array of mime types * array of mime types
* @nmime_types: number of entries in @mime_types. * @n_mime_types: number of entries in @mime_types.
* *
* Creates a new #GdkContentFormats from an array of mime types. * Creates a new #GdkContentFormats from an array of mime types.
* *

View File

@ -1854,7 +1854,7 @@ gtk_clipboard_wait_is_uris_available (GtkClipboard *clipboard)
} }
/** /**
* gtk_clipboard_wait_for_formats: * gtk_clipboard_wait_for_targets:
* @clipboard: a #GtkClipboard * @clipboard: a #GtkClipboard
* @formats: (out) (array length=n_formats) (transfer container): location * @formats: (out) (array length=n_formats) (transfer container): location
* to store an array of formats. The result stored here must * to store an array of formats. The result stored here must
@ -2065,7 +2065,6 @@ gtk_clipboard_store_timeout (GtkClipboard *clipboard)
* @formats: (allow-none): The targets (data formats) in which the * @formats: (allow-none): The targets (data formats) in which the
* functions can provide the data or %NULL * functions can provide the data or %NULL
* to indicate that all forms should be stored. * to indicate that all forms should be stored.
* @n_formats: number of elements in @formats
* *
* Hints that the clipboard data should be stored somewhere when the * Hints that the clipboard data should be stored somewhere when the
* application exits or when gtk_clipboard_store () is called. * application exits or when gtk_clipboard_store () is called.

View File

@ -262,8 +262,8 @@ GDK_AVAILABLE_IN_ALL
gchar ** gtk_clipboard_wait_for_uris (GtkClipboard *clipboard); gchar ** gtk_clipboard_wait_for_uris (GtkClipboard *clipboard);
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
gboolean gtk_clipboard_wait_for_targets (GtkClipboard *clipboard, gboolean gtk_clipboard_wait_for_targets (GtkClipboard *clipboard,
GdkAtom **targets, GdkAtom **formats,
gint *n_targets); gint *n_formats);
GDK_AVAILABLE_IN_3_94 GDK_AVAILABLE_IN_3_94
cairo_surface_t * gtk_clipboard_wait_for_surface (GtkClipboard *clipboard); cairo_surface_t * gtk_clipboard_wait_for_surface (GtkClipboard *clipboard);
@ -283,7 +283,7 @@ gboolean gtk_clipboard_wait_is_target_available (GtkClipboard *clipboard,
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
void gtk_clipboard_set_can_store (GtkClipboard *clipboard, void gtk_clipboard_set_can_store (GtkClipboard *clipboard,
GdkContentFormats *targets); GdkContentFormats *formats);
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
void gtk_clipboard_store (GtkClipboard *clipboard); void gtk_clipboard_store (GtkClipboard *clipboard);

View File

@ -62,7 +62,7 @@ void gtk_drag_unhighlight (GtkWidget *widget);
GDK_AVAILABLE_IN_3_10 GDK_AVAILABLE_IN_3_10
GdkDragContext *gtk_drag_begin_with_coordinates (GtkWidget *widget, GdkDragContext *gtk_drag_begin_with_coordinates (GtkWidget *widget,
GdkContentFormats *formats, GdkContentFormats *targets,
GdkDragAction actions, GdkDragAction actions,
gint button, gint button,
GdkEvent *event, GdkEvent *event,

View File

@ -69,7 +69,7 @@ typedef enum {
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
void gtk_drag_dest_set (GtkWidget *widget, void gtk_drag_dest_set (GtkWidget *widget,
GtkDestDefaults flags, GtkDestDefaults flags,
GdkContentFormats *formats, GdkContentFormats *targets,
GdkDragAction actions); GdkDragAction actions);
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL

View File

@ -40,7 +40,7 @@ G_BEGIN_DECLS
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
void gtk_drag_source_set (GtkWidget *widget, void gtk_drag_source_set (GtkWidget *widget,
GdkModifierType start_button_mask, GdkModifierType start_button_mask,
GdkContentFormats *formats, GdkContentFormats *targets,
GdkDragAction actions); GdkDragAction actions);
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL

View File

@ -943,7 +943,7 @@ gtk_image_set_from_surface (GtkImage *image,
/** /**
* gtk_image_set_from_texture: * gtk_image_set_from_texture:
* @image: a #GtkImage * @image: a #GtkImage
* @surface: (nullable): a #GdkTexture or %NULL * @texture: (nullable): a #GdkTexture or %NULL
* *
* See gtk_image_new_from_texture() for details. * See gtk_image_new_from_texture() for details.
* *

View File

@ -400,7 +400,6 @@ gtk_content_formats_add_image_targets (GdkContentFormats *list,
/** /**
* gtk_content_formats_add_uri_targets: * gtk_content_formats_add_uri_targets:
* @list: a #GdkContentFormats * @list: a #GdkContentFormats
* @info: an ID that will be passed back to the application
* *
* Appends the URI targets supported by #GtkSelectionData to * Appends the URI targets supported by #GtkSelectionData to
* the target list. All targets are added with the same @info. * the target list. All targets are added with the same @info.

View File

@ -1238,7 +1238,7 @@ gtk_settings_create_for_display (GdkDisplay *display)
/** /**
* gtk_settings_get_for_display: * gtk_settings_get_for_display:
* @screen: a #GdkDisplay. * @display: a #GdkDisplay.
* *
* Gets the #GtkSettings object for @display, creating it if necessary. * Gets the #GtkSettings object for @display, creating it if necessary.
* *