mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
Fix some parameter name mismatches to make g-ir-scanner happier
This commit is contained in:
parent
cabfdd5c48
commit
2d797dd816
@ -102,7 +102,7 @@ gdk_content_formats_new_take (GType * gtypes,
|
||||
* gdk_content_formats_new:
|
||||
* @mime_types: (array length=n_mime_types) (allow-none): Pointer to an
|
||||
* 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.
|
||||
*
|
||||
|
@ -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
|
||||
* @formats: (out) (array length=n_formats) (transfer container): location
|
||||
* 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
|
||||
* functions can provide the data or %NULL
|
||||
* 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
|
||||
* application exits or when gtk_clipboard_store () is called.
|
||||
|
@ -262,8 +262,8 @@ GDK_AVAILABLE_IN_ALL
|
||||
gchar ** gtk_clipboard_wait_for_uris (GtkClipboard *clipboard);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_clipboard_wait_for_targets (GtkClipboard *clipboard,
|
||||
GdkAtom **targets,
|
||||
gint *n_targets);
|
||||
GdkAtom **formats,
|
||||
gint *n_formats);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
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
|
||||
void gtk_clipboard_set_can_store (GtkClipboard *clipboard,
|
||||
GdkContentFormats *targets);
|
||||
GdkContentFormats *formats);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_clipboard_store (GtkClipboard *clipboard);
|
||||
|
@ -62,7 +62,7 @@ void gtk_drag_unhighlight (GtkWidget *widget);
|
||||
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GdkDragContext *gtk_drag_begin_with_coordinates (GtkWidget *widget,
|
||||
GdkContentFormats *formats,
|
||||
GdkContentFormats *targets,
|
||||
GdkDragAction actions,
|
||||
gint button,
|
||||
GdkEvent *event,
|
||||
|
@ -69,7 +69,7 @@ typedef enum {
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_drag_dest_set (GtkWidget *widget,
|
||||
GtkDestDefaults flags,
|
||||
GdkContentFormats *formats,
|
||||
GdkContentFormats *targets,
|
||||
GdkDragAction actions);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
|
@ -40,7 +40,7 @@ G_BEGIN_DECLS
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_drag_source_set (GtkWidget *widget,
|
||||
GdkModifierType start_button_mask,
|
||||
GdkContentFormats *formats,
|
||||
GdkContentFormats *targets,
|
||||
GdkDragAction actions);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
|
@ -943,7 +943,7 @@ gtk_image_set_from_surface (GtkImage *image,
|
||||
/**
|
||||
* gtk_image_set_from_texture:
|
||||
* @image: a #GtkImage
|
||||
* @surface: (nullable): a #GdkTexture or %NULL
|
||||
* @texture: (nullable): a #GdkTexture or %NULL
|
||||
*
|
||||
* See gtk_image_new_from_texture() for details.
|
||||
*
|
||||
|
@ -400,7 +400,6 @@ gtk_content_formats_add_image_targets (GdkContentFormats *list,
|
||||
/**
|
||||
* gtk_content_formats_add_uri_targets:
|
||||
* @list: a #GdkContentFormats
|
||||
* @info: an ID that will be passed back to the application
|
||||
*
|
||||
* Appends the URI targets supported by #GtkSelectionData to
|
||||
* the target list. All targets are added with the same @info.
|
||||
|
@ -1238,7 +1238,7 @@ gtk_settings_create_for_display (GdkDisplay *display)
|
||||
|
||||
/**
|
||||
* gtk_settings_get_for_display:
|
||||
* @screen: a #GdkDisplay.
|
||||
* @display: a #GdkDisplay.
|
||||
*
|
||||
* Gets the #GtkSettings object for @display, creating it if necessary.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user