Method

GioAppLaunchContextunsetenv

since: 2.32

Declaration

void
g_app_launch_context_unsetenv (
  GAppLaunchContext* context,
  const char* variable
)

Description

Arranges for variable to be unset in the child’s environment when context is used to launch an application.

Available since: 2.32

Parameters

variable

Type: const char*

The environment variable to remove.

The data is owned by the caller of the function.
The value is a file system path, using the OS encoding.