Shell.Global.get_runtime_state

### Method

# Shell Globalget_runtime_state

#### Declaration [src]

    GVariant*
    shell_global_get_runtime_state (
      ShellGlobal* global,
      const char* property_type,
      const char* property_name
    )

#### Description [src]

The shell maintains “runtime” state which does not persist across logout or reboot.

#### Parameters

`property_type`

  Type: `const char*`

  Expected data type.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

`property_name`

  Type: `const char*`

  Name of the property.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `GVariant`

The value of a serialized property, or `NULL` if none stored.

The returned data is owned by the instance.