mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +01:00
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:
parent
47a02c8561
commit
85882094df
@ -139,6 +139,10 @@ g_app_info_dup (GAppInfo *appinfo)
|
|||||||
*
|
*
|
||||||
* Checks if two #GAppInfos are equal.
|
* 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.
|
* Returns: %TRUE if @appinfo1 is equal to @appinfo2. %FALSE otherwise.
|
||||||
**/
|
**/
|
||||||
gboolean
|
gboolean
|
||||||
|
Loading…
Reference in New Issue
Block a user