Constructor
IdeLocationnew_from_variant
Description
Creates a new IdeLocation
using the serialized form from a
previously serialized GVariant
.
As a convenience, if variant
is NULL
, NULL
is returned.
See also: ide_location_to_variant()
Available since: | 3.32 |
Parameters
variant |
GVariant* |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |
Return value
Returns: | IdeLocation |
A |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL . |