Gio.Icon.deserialize

function deserialize(value: GLib.Variant): Gio.Icon {
    // Gjs wrapper for g_icon_deserialize()
}
  

Deserializes a Gio.Icon previously serialized using Gio.Icon.prototype.serialize.

Since 2.38

value

a GLib.Variant created with Gio.Icon.prototype.serialize

Returns

a Gio.Icon, or null when deserialization fails.