diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2015-02-28 18:13:47 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2015-02-28 18:13:47 -0600 |
commit | be6ac2b9ef5dd31b5646036c867ec5e67cbec07c (patch) | |
tree | ffb67de37a8dd1533b9def5d7b1c43db750adbc8 /src | |
parent | bfda30ab466e43495c79375007e00ed37ebb7967 (diff) | |
download | ayatana-indicator-display-be6ac2b9ef5dd31b5646036c867ec5e67cbec07c.tar.gz ayatana-indicator-display-be6ac2b9ef5dd31b5646036c867ec5e67cbec07c.tar.bz2 ayatana-indicator-display-be6ac2b9ef5dd31b5646036c867ec5e67cbec07c.zip |
use the same action-state-to-variant mapping as in the rtm-14.09 branch
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() |