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_set_as_last_used_for_type(GAppInfo* appinfo,
                                              const char* content_type,
                                              GError** error)
{
    GAppInfoIface* iface;

    g_return_val_if_fail(G_IS_APP_INFO(appinfo), FALSE);
    g_return_val_if_fail(content_type != NULL, FALSE);

    iface = G_APP_INFO_GET_IFACE(appinfo);

    return (*iface->set_as_last_used_for_type)(appinfo, content_type, error);
}
/**
 * g_app_info_set_as_last_used_for_type:
 * @appinfo: a #GAppInfo.
 * @content_type: the content type.
 * @error: a #GError.
 *
 * Sets the application as the last used application for a given type.
 * This will make the application appear as first in the list returned
 * by g_app_info_get_recommended_for_type(), regardless of the default
 * application for that content type.
 *
 * Returns: %TRUE on success, %FALSE on error.
 **/


Sets the application as the last used application for a given type.
This will make the application appear as first in the list returned
by g_app_info_get_recommended_for_type(), regardless of the default
application for that content type.

%TRUE on success, %FALSE on error.
Sets the application as the last used application for a given type . This will make the application appear as first in the list returned by g_app_info_get_recommended_for_type () regardless of the default application for that content type . %TRUE on success %FALSE on error .
gboolean g_app_info_set_as_last_used_for_type(GAppInfo* appinfo,
                                              const char* content_type,
                                              GError** error)
{
    GAppInfoIface* iface;
    g_return_val_if_fail(G_IS_APP_INFO(appinfo), FALSE);
    g_return_val_if_fail(content_type != NULL, FALSE);
    iface = G_APP_INFO_GET_IFACE(appinfo);
    return (*iface->set_as_last_used_for_type)(appinfo, content_type, error);
}
gboolean g_app_info_set_as_last_used_for_type ( GAppInfo * appinfo , const char * content_type , GError * * error ) { GAppInfoIface * iface ; g_return_val_if_fail ( G_IS_APP_INFO ( appinfo ) , FALSE ) ; g_return_val_if_fail ( content_type != NULL , FALSE ) ; iface = G_APP_INFO_GET_IFACE ( appinfo ) ; return ( * iface -> set_as_last_used_for_type ) ( appinfo , content_type , error ) ; }
g_app_info_set_as_last_used_for_type:
 @appinfo: a #GAppInfo.
g_app_info_set_as_last_used_for_type : @appinfo : a #GAppInfo .