summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2021-08-04 16:10:46 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2021-08-04 16:10:46 +0800
commitc310cca0a823df872a049d1da4d6d1a7721dc8e5 (patch)
treea5fdcfa157eee27ccf9bdabfcd3f2e28121e2ca2
parent4c85fb03a67863b51253d527e7301ba79b83c219 (diff)
downloadglib-main-c89.tar.gz
GDateTime test: Avoid designated initializersmain-c89
This updates the test program so that we avoid using designated initializers, so that pre-VS2013 can be preserved.
-rw-r--r--glib/tests/gdatetime.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/glib/tests/gdatetime.c b/glib/tests/gdatetime.c
index 12f332b44..c71704dbc 100644
--- a/glib/tests/gdatetime.c
+++ b/glib/tests/gdatetime.c
@@ -2325,23 +2325,23 @@ typedef struct
} MixedUtf8TestData;
static const MixedUtf8TestData utf8_time_non_utf8_messages = {
- .utf8_messages = FALSE,
- .utf8_time = TRUE
+ FALSE, /* utf8_messages */
+ TRUE /* utf8_time */
};
static const MixedUtf8TestData non_utf8_time_utf8_messages = {
- .utf8_messages = TRUE,
- .utf8_time = FALSE
+ TRUE, /* utf8_messages */
+ FALSE /* utf8_time */
};
static const MixedUtf8TestData utf8_time_utf8_messages = {
- .utf8_messages = TRUE,
- .utf8_time = TRUE
+ TRUE, /* utf8_messages */
+ TRUE /* utf8_time */
};
static const MixedUtf8TestData non_utf8_time_non_utf8_messages = {
- .utf8_messages = FALSE,
- .utf8_time = FALSE
+ FALSE, /* utf8_messages */
+ FALSE /* utf8_time */
};
static gboolean