mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-31 13:24:13 +02:00
GApplication: support environment passing
Add support for passing the full contents of the environment to the primary instance (by storing it in the platform_data) when G_APPLICATION_SEND_ENVIRONMENT is in the flags.
This commit is contained in:
@@ -91,6 +91,11 @@ GType g_application_command_line_get_type (void) G
|
||||
gchar ** g_application_command_line_get_arguments (GApplicationCommandLine *cmdline,
|
||||
int *argc);
|
||||
|
||||
const gchar * const * g_application_command_line_get_environ (GApplicationCommandLine *cmdline);
|
||||
|
||||
const gchar * g_application_command_line_getenv (GApplicationCommandLine *cmdline,
|
||||
const gchar *name);
|
||||
|
||||
const gchar * g_application_command_line_get_cwd (GApplicationCommandLine *cmdline);
|
||||
|
||||
gboolean g_application_command_line_get_is_remote (GApplicationCommandLine *cmdline);
|
||||
|
Reference in New Issue
Block a user