openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/glib-2.0/1_2.60.3-r0/glib-2.60.3/gio/gappinfo.c
gboolean g_app_info_launch(GAppInfo* appinfo, GList* files,
                           GAppLaunchContext* launch_context, GError** error)
{
    GAppInfoIface* iface;

    g_return_val_if_fail(G_IS_APP_INFO(appinfo), FALSE);

    iface = G_APP_INFO_GET_IFACE(appinfo);

    return (*iface->launch)(appinfo, files, launch_context, error);
}
/**
 * g_app_info_launch:
 * @appinfo: a #GAppInfo
 * @files: (nullable) (element-type GFile): a #GList of #GFile objects
 * @context: (nullable): a #GAppLaunchContext or %NULL
 * @error: a #GError
 *
 * Launches the application. Passes @files to the launched application
 * as arguments, using the optional @context to get information
 * about the details of the launcher (like what screen it is on).
 * On error, @error will be set accordingly.
 *
 * To launch the application without arguments pass a %NULL @files list.
 *
 * Note that even if the launch is successful the application launched
 * can fail to start if it runs into problems during startup. There is
 * no way to detect this.
 *
 * Some URIs can be changed when passed through a GFile (for instance
 * unsupported URIs with strange formats like mailto:), so if you have
 * a textual URI you want to pass in as argument, consider using
 * g_app_info_launch_uris() instead.
 *
 * The launched application inherits the environment of the launching
 * process, but it can be modified with g_app_launch_context_setenv()
 * and g_app_launch_context_unsetenv().
 *
 * On UNIX, this function sets the `GIO_LAUNCHED_DESKTOP_FILE`
 * environment variable with the path of the launched desktop file and
 * `GIO_LAUNCHED_DESKTOP_FILE_PID` to the process id of the launched
 * process. This can be used to ignore `GIO_LAUNCHED_DESKTOP_FILE`,
 * should it be inherited by further processes. The `DISPLAY` and
 * `DESKTOP_STARTUP_ID` environment variables are also set, based
 * on information provided in @context.
 *
 * Returns: %TRUE on successful launch, %FALSE otherwise.
 **/


Launches the application. Passes @files to the launched application
as arguments, using the optional @context to get information
about the details of the launcher (like what screen it is on).
On error, @error will be set accordingly.

To launch the application without arguments pass a %NULL @files list.

Note that even if the launch is successful the application launched
can fail to start if it runs into problems during startup. There is
no way to detect this.

Some URIs can be changed when passed through a GFile (for instance
unsupported URIs with strange formats like mailto:), so if you have
a textual URI you want to pass in as argument, consider using
g_app_info_launch_uris() instead.

The launched application inherits the environment of the launching
process, but it can be modified with g_app_launch_context_setenv()
and g_app_launch_context_unsetenv().

On UNIX, this function sets the `GIO_LAUNCHED_DESKTOP_FILE`
environment variable with the path of the launched desktop file and
`GIO_LAUNCHED_DESKTOP_FILE_PID` to the process id of the launched
process. This can be used to ignore `GIO_LAUNCHED_DESKTOP_FILE`,
should it be inherited by further processes. The `DISPLAY` and
`DESKTOP_STARTUP_ID` environment variables are also set, based
on information provided in @context.

%TRUE on successful launch, %FALSE otherwise.
Launches the application . Passes @files to the launched application as arguments using the optional @context to get information about the details of the launcher ( like what screen it is on ) . On error @error will be set accordingly . To launch the application without arguments pass a %NULL @files list . Note that even if the launch is successful the application launched can fail to start if it runs into problems during startup . There is no way to detect this . Some URIs can be changed when passed through a GFile ( for instance unsupported URIs with strange formats like mailto : ) so if you have a textual URI you want to pass in as argument consider using g_app_info_launch_uris () instead . The launched application inherits the environment of the launching process but it can be modified with g_app_launch_context_setenv () and g_app_launch_context_unsetenv () . On UNIX this function sets the ` GIO_LAUNCHED_DESKTOP_FILE ` environment variable with the path of the launched desktop file and ` GIO_LAUNCHED_DESKTOP_FILE_PID ` to the process id of the launched process . This can be used to ignore ` GIO_LAUNCHED_DESKTOP_FILE ` should it be inherited by further processes . The ` DISPLAY ` and ` DESKTOP_STARTUP_ID ` environment variables are also set based on information provided in @context . %TRUE on successful launch %FALSE otherwise .
gboolean g_app_info_launch(GAppInfo* appinfo, GList* files,
                           GAppLaunchContext* launch_context, GError** error)
{
    GAppInfoIface* iface;
    g_return_val_if_fail(G_IS_APP_INFO(appinfo), FALSE);
    iface = G_APP_INFO_GET_IFACE(appinfo);
    return (*iface->launch)(appinfo, files, launch_context, error);
}
gboolean g_app_info_launch ( GAppInfo * appinfo , GList * files , GAppLaunchContext * launch_context , GError * * error ) { GAppInfoIface * iface ; g_return_val_if_fail ( G_IS_APP_INFO ( appinfo ) , FALSE ) ; iface = G_APP_INFO_GET_IFACE ( appinfo ) ; return ( * iface -> launch ) ( appinfo , files , launch_context , error ) ; }
g_app_info_launch:
 @appinfo: a #GAppInfo
 @files: (nullable) (element-type GFile): a #GList of #GFile objects
 @context: (nullable): a #GAppLaunchContext or %NULL
 @error: a #GError
g_app_info_launch : @appinfo : a #GAppInfo @files : ( nullable ) ( element - type GFile ) : a #GList of #GFile objects @context : ( nullable ) : a #GAppLaunchContext or %NULL @error : a #GError