summaryrefslogtreecommitdiff
path: root/glib/gfileutils.h
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2011-07-20 21:49:16 +0200
committerRyan Lortie <desrt@desrt.ca>2011-07-20 21:50:52 +0200
commit8cadef1a88abf77569da2e65894a855b0f1376d4 (patch)
tree8c80f5f2cb7cb708acf51e0dd17d2d7329c762cd /glib/gfileutils.h
parentc26462ab98e47fd629177d52984b69055f8fe37a (diff)
downloadglib-8cadef1a88abf77569da2e65894a855b0f1376d4.tar.gz
Change order of GFormatSizeFlags
David requested that I change the order of the flags. Also, assign numerical values to the flags in the usual way. This wasn't a bug yet, but only by chance.
Diffstat (limited to 'glib/gfileutils.h')
-rw-r--r--glib/gfileutils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/glib/gfileutils.h b/glib/gfileutils.h
index 0e382afd1..1d7f4dc63 100644
--- a/glib/gfileutils.h
+++ b/glib/gfileutils.h
@@ -112,9 +112,9 @@ gint g_file_open_tmp (const gchar *tmpl,
typedef enum
{
- G_FORMAT_SIZE_DEFAULT,
- G_FORMAT_SIZE_IEC_UNITS,
- G_FORMAT_SIZE_LONG_FORMAT
+ G_FORMAT_SIZE_DEFAULT = 0,
+ G_FORMAT_SIZE_LONG_FORMAT = 1 << 0,
+ G_FORMAT_SIZE_IEC_UNITS = 1 << 1
} GFormatSizeFlags;
gchar * g_format_size_full (guint64 size,