summaryrefslogtreecommitdiff
path: root/thunarx/thunarx-menu-provider.c
diff options
context:
space:
mode:
Diffstat (limited to 'thunarx/thunarx-menu-provider.c')
-rw-r--r--thunarx/thunarx-menu-provider.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/thunarx/thunarx-menu-provider.c b/thunarx/thunarx-menu-provider.c
index 583e0f93..6fa48a1f 100644
--- a/thunarx/thunarx-menu-provider.c
+++ b/thunarx/thunarx-menu-provider.c
@@ -56,10 +56,10 @@
GType
thunarx_menu_provider_get_type (void)
{
- static volatile gsize type__volatile = 0;
- GType type;
+ static gsize type__static = 0;
+ GType type;
- if (g_once_init_enter (&type__volatile))
+ if (g_once_init_enter (&type__static))
{
type = g_type_register_static_simple (G_TYPE_INTERFACE,
I_("ThunarxMenuProvider"),
@@ -71,10 +71,10 @@ thunarx_menu_provider_get_type (void)
g_type_interface_add_prerequisite (type, G_TYPE_OBJECT);
- g_once_init_leave (&type__volatile, type);
+ g_once_init_leave (&type__static, type);
}
- return type__volatile;
+ return type__static;
}