Gio.DBusMethodInfo.prototype.ref

function ref(): Gio.DBusMethodInfo {
    // Gjs wrapper for g_dbus_method_info_ref()
}
  

If info is statically allocated does nothing. Otherwise increases the reference count.

Since 2.26

Returns

The same info.