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
char* g_app_launch_context_get_display(GAppLaunchContext* context,
                                       GAppInfo* info, GList* files)
{
    GAppLaunchContextClass* class;

    g_return_val_if_fail(G_IS_APP_LAUNCH_CONTEXT(context), NULL);
    g_return_val_if_fail(G_IS_APP_INFO(info), NULL);

    class = G_APP_LAUNCH_CONTEXT_GET_CLASS(context);

    if (class->get_display == NULL)
        return NULL;

    return class->get_display(context, info, files);
}
/**
 * g_app_launch_context_get_display:
 * @context: a #GAppLaunchContext
 * @info: a #GAppInfo
 * @files: (element-type GFile): a #GList of #GFile objects
 *
 * Gets the display string for the @context. This is used to ensure new
 * applications are started on the same display as the launching
 * application, by setting the `DISPLAY` environment variable.
 *
 * Returns: a display string for the display.
 */


Gets the display string for the @context. This is used to ensure new
applications are started on the same display as the launching
application, by setting the `DISPLAY` environment variable.

a display string for the display.
Gets the display string for the @context . This is used to ensure new applications are started on the same display as the launching application by setting the ` DISPLAY ` environment variable . a display string for the display .
char* g_app_launch_context_get_display(GAppLaunchContext* context,
                                       GAppInfo* info, GList* files)
{
    GAppLaunchContextClass* class;
    g_return_val_if_fail(G_IS_APP_LAUNCH_CONTEXT(context), NULL);
    g_return_val_if_fail(G_IS_APP_INFO(info), NULL);
    class = G_APP_LAUNCH_CONTEXT_GET_CLASS(context);
    if (class->get_display == NULL)
        return NULL;
    return class->get_display(context, info, files);
}
char * g_app_launch_context_get_display ( GAppLaunchContext * context , GAppInfo * info , GList * files ) { GAppLaunchContextClass * class ; g_return_val_if_fail ( G_IS_APP_LAUNCH_CONTEXT ( context ) , NULL ) ; g_return_val_if_fail ( G_IS_APP_INFO ( info ) , NULL ) ; class = G_APP_LAUNCH_CONTEXT_GET_CLASS ( context ) ; if ( class -> get_display == NULL ) return NULL ; return class -> get_display ( context , info , files ) ; }
g_app_launch_context_get_display:
 @context: a #GAppLaunchContext
 @info: a #GAppInfo
 @files: (element-type GFile): a #GList of #GFile objects
g_app_launch_context_get_display : @context : a #GAppLaunchContext @info : a #GAppInfo @files : ( element - type GFile ) : a #GList of #GFile objects