Function

Plumautils_drop_get_uris

since: 1.0

Declaration [src]

gchar**
pluma_utils_drop_get_uris (
  GtkSelectionData* selection_data
)

Description [src]

Create a list of valid uri’s from a uri-list drop.

Available since: 1.0

Parameters

selection_data

Type: GtkSelectionData

The GtkSelectionData from drag_data_received.

The data is owned by the caller of the function.

Return value

Type: An array of utf8

A string array which will hold the uris or NULL if there were no valid uris. g_strfreev should be used when the string array is no longer used.

The array is NULL-terminated.
The caller of the function takes ownership of the data, and is responsible for freeing it.
Each element is a NUL terminated UTF-8 string.