Improve consistency of enumerations
authorMatthias Clasen <matthiasc@src.gnome.org>
Wed, 28 Nov 2007 18:38:53 +0000 (18:38 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 28 Nov 2007 18:38:53 +0000 (18:38 +0000)
svn path=/trunk/; revision=5979

gio/ChangeLog
gio/gfile.h

index 51534c597429f4b91535f382e2c339ee5180bd52..48536d4fa7c97d943af2dea8418818d42bfb3917 100644 (file)
@@ -1,3 +1,7 @@
+2007-11-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
+
 2007-11-28  Alexander Larsson  <alexl@redhat.com>
 
         * Makefile.am:
index 47fa18475912dad39e5f16bebee521c38dc3287b..035f9530a8fa9e975b19667857c6f394dc0bc454 100644 (file)
@@ -62,6 +62,7 @@ typedef enum  {
 
 /**
  * GFileCopyFlags:
+ * @G_FILE_COPY_FLAGS_NONE: No flags set.
  * @G_FILE_COPY_OVERWRITE: Overwrite any existing files
  * @G_FILE_COPY_BACKUP: Make a backup of any existing files. TODO: explain backup naming scheme.
  * @G_FILE_COPY_NOFOLLOW_SYMLINKS: Don't follow symlinks.
@@ -70,6 +71,7 @@ typedef enum  {
  * Flags used when copying or moving files. 
  */
 typedef enum {
+  G_FILE_COPY_FLAGS_NONE = 0,
   G_FILE_COPY_OVERWRITE = (1<<0),
   G_FILE_COPY_BACKUP = (1<<1),
   G_FILE_COPY_NOFOLLOW_SYMLINKS = (1<<2),