mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
Always return a GFileType enum value (#520715).
2008-03-31 A. Walton <awalton@svn.gnome.org> * gfile.c (g_file_query_file_type): Always return a GFileType enum value (#520715). svn path=/trunk/; revision=6799
This commit is contained in:
parent
a2609fc3f1
commit
5d17169953
@ -1,3 +1,8 @@
|
||||
2008-03-31 A. Walton <awalton@svn.gnome.org>
|
||||
|
||||
* gfile.c (g_file_query_file_type):
|
||||
Always return a GFileType enum value (#520715).
|
||||
|
||||
2008-03-31 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* glocalfileenumerator.c:
|
||||
|
@ -966,7 +966,7 @@ g_file_query_file_type (GFile *file,
|
||||
GFileInfo *info;
|
||||
GFileType file_type;
|
||||
|
||||
g_return_val_if_fail (G_IS_FILE(file), FALSE);
|
||||
g_return_val_if_fail (G_IS_FILE(file), G_FILE_TYPE_UNKNOWN);
|
||||
info = g_file_query_info (file, G_FILE_ATTRIBUTE_STANDARD_TYPE, flags,
|
||||
cancellable, NULL);
|
||||
if (info != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user