summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2021-01-13 13:22:58 +0100
committerAntónio Fernandes <antoniojpfernandes@gmail.com>2021-01-15 15:45:47 +0000
commit9b733dd9df9d6d9805c56749d05ada15a7560ef4 (patch)
tree1c4450702042ace431ac5781c7d74a324f6e746a
parent2b60990df4fb4d5d3bb7eb22136d3f16beef9860 (diff)
downloadnautilus-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.template2
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))
{