register


Description:

public static void register (string ns, string version) throws Error

Require ns / version and register each object GType.

Alias is ns-Name (hyphen, same style as RPC-Live-Remote). Skips infos that are not objects, or have no GType. A second register of the same alias is a no-op.

Parameters:

ns

typelib namespace (Gio, Meta)

version

typelib version (2.0, 16)

Exceptions:

GLib.Error

when GI.Repository.require fails