diff options
Diffstat (limited to 'gio/src/file.hg')
-rw-r--r-- | gio/src/file.hg | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gio/src/file.hg b/gio/src/file.hg index 6ee40a00..39e77d71 100644 --- a/gio/src/file.hg +++ b/gio/src/file.hg @@ -28,7 +28,6 @@ #include <giomm/mountoperation.h> #include <giomm/drive.h> #include <giomm/error.h> //Because this is thrown by some of these methods. -//#include <giomm/volume.h> _DEFS(giomm,gio) _PINCLUDE(glibmm/private/interface_p.h) @@ -950,7 +949,7 @@ public: * was cancelled, a Gio::Error with CANCELLED will be thrown. * * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * If the file is not a directory, a Glib::FileError with NOTDIR will be thrown. + * If the file is not a directory, a Gio::Error with NOT_DIRECTORY will be thrown. * Other errors are possible too. * * @param cancellable A Cancellable object. @@ -974,7 +973,7 @@ public: * The standard attributes are availible as defines, like FILE_ATTRIBUTE_STANDARD_NAME. * * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * If the file is not a directory, a Glib::FileError with NOTDIR will be thrown. + * If the file is not a directory, a Gio::Error with NOT_DIRECTORY will be thrown. * Other errors are possible too. * * @param attributes An attribute query string. @@ -1049,7 +1048,7 @@ public: /** Deletes a file. * If the file is a directory, it will only be deleted if it is empty. * The operation can be cancelled by triggering the cancellable object from another thread. - * If the operation was cancelled, a Glib::FileError with ERROR_CANCELLED will be thrown. + * If the operation was cancelled, a Gio::Error with CANCELLED will be thrown. * * @param cancellable A Cancellable object which can be used to cancel the operation. * @return <tt>true</tt> if the file was deleted. <tt>false</tt> otherwise. |