diff options
Diffstat (limited to 'vcl/unx/gtk/window/gloactiongroup.cxx')
-rw-r--r-- | vcl/unx/gtk/window/gloactiongroup.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk/window/gloactiongroup.cxx b/vcl/unx/gtk/window/gloactiongroup.cxx index 8cbc32622ce2..11145e3c44c3 100644 --- a/vcl/unx/gtk/window/gloactiongroup.cxx +++ b/vcl/unx/gtk/window/gloactiongroup.cxx @@ -320,10 +320,10 @@ g_lo_action_group_insert_stateful (GLOActionGroup *group, action->submenu = submenu; if (parameter_type) - action->parameter_type = (GVariantType*) parameter_type; + action->parameter_type = const_cast<GVariantType*>(parameter_type); if (state_type) - action->state_type = (GVariantType*) state_type; + action->state_type = const_cast<GVariantType*>(state_type); if (state_hint) action->state_hint = g_variant_ref_sink (state_hint); |