[glib/wip/format_size_value_units] Apply 3 suggestion(s) to 2 file(s)



commit 3c3575cb24e1ff8476a2f84807d63ed5ddee3b15
Author: Philip Withnall <philip tecnocode co uk>
Date:   Thu Apr 7 15:55:54 2022 +0000

    Apply 3 suggestion(s) to 2 file(s)

 glib/gutils.c | 4 ++--
 glib/gutils.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/glib/gutils.c b/glib/gutils.c
index 28411c8976..c9e8d24b1f 100644
--- a/glib/gutils.c
+++ b/glib/gutils.c
@@ -2805,10 +2805,10 @@ g_format_size (guint64 size)
  *     bytes, and return units in bits. For example, ‘Mb’ rather than ‘MB’.
  * @G_FORMAT_SIZE_ONLY_VALUE: return only value, without unit; this should
  *     not be used together with @G_FORMAT_SIZE_LONG_FORMAT
- *     nor @G_FORMAT_SIZE_ONLY_UNIT. Since: 2.72
+ *     nor @G_FORMAT_SIZE_ONLY_UNIT. Since: 2.74
  * @G_FORMAT_SIZE_ONLY_UNIT: return only unit, without value; this should
  *     not be used together with @G_FORMAT_SIZE_LONG_FORMAT
- *     nor @G_FORMAT_SIZE_ONLY_VALUE. Since: 2.72
+ *     nor @G_FORMAT_SIZE_ONLY_VALUE. Since: 2.74
  *
  * Flags to modify the format of the string returned by g_format_size_full().
  */
diff --git a/glib/gutils.h b/glib/gutils.h
index f9ac8010c9..7013d0df73 100644
--- a/glib/gutils.h
+++ b/glib/gutils.h
@@ -308,8 +308,8 @@ typedef enum
   G_FORMAT_SIZE_LONG_FORMAT = 1 << 0,
   G_FORMAT_SIZE_IEC_UNITS   = 1 << 1,
   G_FORMAT_SIZE_BITS        = 1 << 2,
-  G_FORMAT_SIZE_ONLY_VALUE  = 1 << 3,
-  G_FORMAT_SIZE_ONLY_UNIT   = 1 << 4
+  G_FORMAT_SIZE_ONLY_VALUE GLIB_AVAILABLE_ENUMERATOR_IN_2_74 = 1 << 3,
+  G_FORMAT_SIZE_ONLY_UNIT GLIB_AVAILABLE_ENUMERATOR_IN_2_74 = 1 << 4
 } GFormatSizeFlags;
 
 GLIB_AVAILABLE_IN_2_30


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]