doc: improve doc of g_file_equal()
authorSébastien Wilmet <swilmet@gnome.org>
Fri, 27 Jun 2014 18:43:39 +0000 (20:43 +0200)
committerSébastien Wilmet <swilmet@gnome.org>
Sun, 29 Jun 2014 15:57:24 +0000 (17:57 +0200)
commitffe286e647ce9ba9bb8e1631ba3cf0194038f438
treea68a6b7e9c726891ad0ad9898658858ee6d72ec2
parent82352ab8e7bc0d499a1e1a805ba4c5f896d3ba8c
doc: improve doc of g_file_equal()

A critical message is printed when a parameter of g_file_equal() is not
a GFile. When we read the documentation before this commit, we can think
that passing NULL or another type than GFile is allowed, but it is not
the case.

Another option is to allow NULL parameters. But for consistency with
e.g. g_str_equal(), it's probably better to keep the code as is.

https://bugzilla.gnome.org/show_bug.cgi?id=732357
gio/gfile.c