diff options
author | Ryan Lortie <desrt@desrt.ca> | 2011-07-20 21:49:16 +0200 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2011-07-20 21:50:52 +0200 |
commit | 8cadef1a88abf77569da2e65894a855b0f1376d4 (patch) | |
tree | 8c80f5f2cb7cb708acf51e0dd17d2d7329c762cd /glib/gfileutils.h | |
parent | c26462ab98e47fd629177d52984b69055f8fe37a (diff) | |
download | glib-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.h | 6 |
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, |