GLib.VariantDict.prototype.ref

function ref(): GLib.VariantDict {
    // Gjs wrapper for g_variant_dict_ref()
}
  

Increases the reference count on dict.

Don't call this on stack-allocated GLib.VariantDict instances or bad things will happen.

Since 2.40

Returns

a new reference to dict