diff options
author | Ondrej Holy <oholy@redhat.com> | 2021-01-13 13:22:58 +0100 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2021-01-13 13:22:58 +0100 |
commit | 4839b373162c17b2935a1777ab27aaf421f4dfc5 (patch) | |
tree | 8793f3cdd7367439bbd4ae24c5b9a9830b861bf5 | |
parent | ac9be83e0117c42328698cacf1372c87b437ae71 (diff) | |
download | nautilus-wip/oholy/drop-volatile.tar.gz |
Drop use of volatilewip/oholy/drop-volatile
The `fedora rawhide` CI job currently fails because of usage of the
`volatile` qualifier. Let's drop the `volatile` qualifier as it doesn't
help anyway. It was dropped in GLib as well, see:
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1741
-rw-r--r-- | src/nautilus-enum-types.c.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-enum-types.c.template b/src/nautilus-enum-types.c.template index 00155ca04..9d8ac838b 100644 --- a/src/nautilus-enum-types.c.template +++ b/src/nautilus-enum-types.c.template @@ -13,7 +13,7 @@ GType @enum_name@_get_type (void) { - static volatile GType type_once = 0; + static GType type_once = 0; if (g_once_init_enter (&type_once)) { |