Commit e74622b0 authored by Matthias Clasen's avatar Matthias Clasen

Merge branch 'clipboard-quartz' into 'gtk-3-24'

gtkclipboard-quartz: Update annotations for gtk_clipboard_wait_for_targets

See merge request !624
parents e8e2f516 593025a9
Pipeline #67181 passed with stage
in 6 minutes and 37 seconds
......@@ -1006,9 +1006,22 @@ gtk_clipboard_wait_is_uris_available (GtkClipboard *clipboard)
/**
* gtk_clipboard_wait_for_targets:
* @clipboard:
* @targets: (out) (array length=n_targets):
* @n_targets: (out):
* @clipboard: a #GtkClipboard
* @targets: (out) (array length=n_targets) (transfer container): location
* to store an array of targets. The result stored here must
* be freed with g_free().
* @n_targets: (out): location to store number of items in @targets.
*
* Returns a list of targets that are present on the clipboard, or %NULL
* if there aren’t any targets available. The returned list must be
* freed with g_free().
* This function waits for the data to be received using the main
* loop, so events, timeouts, etc, may be dispatched during the wait.
*
* Returns: %TRUE if any targets are present on the clipboard,
* otherwise %FALSE.
*
* Since: 2.4
*/
gboolean
gtk_clipboard_wait_for_targets (GtkClipboard *clipboard,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment