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()
Parameters
variant
-
Type:
GVariant
A
GVariant
orNULL
.The argument can be NULL
.The data is owned by the caller of the function.
Return value
Type: IdeLocation
A GVariant
if succesful;
otherwise NULL
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL . |