mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 22:16:16 +01:00
Add g_return_val_if_fail check (#520700)
2008-03-06 Alexander Larsson <alexl@redhat.com> * gfile.c (g_file_query_exists): Add g_return_val_if_fail check (#520700) svn path=/trunk/; revision=6633
This commit is contained in:
parent
5241d96b21
commit
79ad411eb5
@ -1,3 +1,8 @@
|
||||
2008-03-06 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gfile.c (g_file_query_exists):
|
||||
Add g_return_val_if_fail check (#520700)
|
||||
|
||||
2008-03-06 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdesktopappinfo.c:
|
||||
|
@ -928,7 +928,9 @@ g_file_query_exists (GFile *file,
|
||||
GCancellable *cancellable)
|
||||
{
|
||||
GFileInfo *info;
|
||||
|
||||
|
||||
g_return_val_if_fail (G_IS_FILE(file), FALSE);
|
||||
|
||||
info = g_file_query_info (file, G_FILE_ATTRIBUTE_STANDARD_TYPE,
|
||||
G_FILE_QUERY_INFO_NONE,
|
||||
cancellable, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user