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_equal(GAppInfo* appinfo1, GAppInfo* appinfo2)
{
    GAppInfoIface* iface;

    g_return_val_if_fail(G_IS_APP_INFO(appinfo1), FALSE);
    g_return_val_if_fail(G_IS_APP_INFO(appinfo2), FALSE);

    if (G_TYPE_FROM_INSTANCE(appinfo1) != G_TYPE_FROM_INSTANCE(appinfo2))
        return FALSE;

    iface = G_APP_INFO_GET_IFACE(appinfo1);

    return (*iface->equal)(appinfo1, appinfo2);
}
/**
 * g_app_info_equal:
 * @appinfo1: the first #GAppInfo.
 * @appinfo2: the second #GAppInfo.
 *
 * Checks if two #GAppInfos are equal.
 *
 * Note that the check <emphasis>may not</emphasis> compare each individual
 * field, and only does an identity check. In case detecting changes in the
 * contents is needed, program code must additionally compare relevant fields.
 *
 * Returns: %TRUE if @appinfo1 is equal to @appinfo2. %FALSE otherwise.
 **/
@appinfo1: the first #GAppInfo.
@appinfo2: the second #GAppInfo.

Checks if two #GAppInfos are equal.

Note that the check may not compare each individual
field, and only does an identity check. In case detecting changes in the
contents is needed, program code must additionally compare relevant fields.

%TRUE if @appinfo1 is equal to @appinfo2. %FALSE otherwise.
@appinfo1 : the first #GAppInfo . @appinfo2 : the second #GAppInfo . Checks if two #GAppInfos are equal . Note that the check may not compare each individual field and only does an identity check . In case detecting changes in the contents is needed program code must additionally compare relevant fields . %TRUE if @appinfo1 is equal to @appinfo2 . %FALSE otherwise .
gboolean g_app_info_equal(GAppInfo* appinfo1, GAppInfo* appinfo2)
{
    GAppInfoIface* iface;
    g_return_val_if_fail(G_IS_APP_INFO(appinfo1), FALSE);
    g_return_val_if_fail(G_IS_APP_INFO(appinfo2), FALSE);
    if (G_TYPE_FROM_INSTANCE(appinfo1) != G_TYPE_FROM_INSTANCE(appinfo2))
        return FALSE;
    iface = G_APP_INFO_GET_IFACE(appinfo1);
    return (*iface->equal)(appinfo1, appinfo2);
}
gboolean g_app_info_equal ( GAppInfo * appinfo1 , GAppInfo * appinfo2 ) { GAppInfoIface * iface ; g_return_val_if_fail ( G_IS_APP_INFO ( appinfo1 ) , FALSE ) ; g_return_val_if_fail ( G_IS_APP_INFO ( appinfo2 ) , FALSE ) ; if ( G_TYPE_FROM_INSTANCE ( appinfo1 ) != G_TYPE_FROM_INSTANCE ( appinfo2 ) ) return FALSE ; iface = G_APP_INFO_GET_IFACE ( appinfo1 ) ; return ( * iface -> equal ) ( appinfo1 , appinfo2 ) ; }
g_app_info_equal:
 @appinfo1: the first #GAppInfo.
g_app_info_equal : @appinfo1 : the first #GAppInfo .