Better documentation for g_app_info_equal()

Explicitly state that the function may not compare the contents of the
passed GAppInfo instances.

This fixes bug #777961.
This commit is contained in:
Adrian Perez de Castro 2017-01-31 03:10:24 +02:00 committed by Matthias Clasen
parent 47a02c8561
commit 85882094df

View File

@ -139,6 +139,10 @@ g_app_info_dup (GAppInfo *appinfo)
*
* Checks if two #GAppInfos are equal.
*
* Note that the check <em>may not</em> 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.
**/
gboolean