diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rotation-lock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rotation-lock.cpp b/src/rotation-lock.cpp index 31e9d12..f19ac9f 100644 --- a/src/rotation-lock.cpp +++ b/src/rotation-lock.cpp @@ -77,7 +77,7 @@ private: const GVariantType * /*expected_type*/, gpointer /*unused*/) { - return g_variant_new_boolean(g_value_get_boolean(value)); + return g_value_dup_variant(value); } GSimpleActionGroup* create_action_group() |