diff options
author | Ondrej Holy <oholy@redhat.com> | 2021-01-13 13:22:58 +0100 |
---|---|---|
committer | António Fernandes <antoniojpfernandes@gmail.com> | 2021-01-15 15:45:47 +0000 |
commit | 9b733dd9df9d6d9805c56749d05ada15a7560ef4 (patch) | |
tree | 1c4450702042ace431ac5781c7d74a324f6e746a | |
parent | 2b60990df4fb4d5d3bb7eb22136d3f16beef9860 (diff) | |
download | nautilus-9b733dd9df9d6d9805c56749d05ada15a7560ef4.tar.gz |
Drop use of 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)) { |