mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-08 11:39:40 +02: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>
|
2008-03-06 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gdesktopappinfo.c:
|
* gdesktopappinfo.c:
|
||||||
|
@ -928,7 +928,9 @@ g_file_query_exists (GFile *file,
|
|||||||
GCancellable *cancellable)
|
GCancellable *cancellable)
|
||||||
{
|
{
|
||||||
GFileInfo *info;
|
GFileInfo *info;
|
||||||
|
|
||||||
|
g_return_val_if_fail (G_IS_FILE(file), FALSE);
|
||||||
|
|
||||||
info = g_file_query_info (file, G_FILE_ATTRIBUTE_STANDARD_TYPE,
|
info = g_file_query_info (file, G_FILE_ATTRIBUTE_STANDARD_TYPE,
|
||||||
G_FILE_QUERY_INFO_NONE,
|
G_FILE_QUERY_INFO_NONE,
|
||||||
cancellable, NULL);
|
cancellable, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user