diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2015-03-02 16:56:26 +0000 |
---|---|---|
committer | CI Train Bot <ci-train-bot@canonical.com> | 2015-03-02 16:56:26 +0000 |
commit | 0d5b74072a874ecb08f5cbc471de5ccdd6525cfc (patch) | |
tree | ffb67de37a8dd1533b9def5d7b1c43db750adbc8 | |
parent | bfda30ab466e43495c79375007e00ed37ebb7967 (diff) | |
parent | be6ac2b9ef5dd31b5646036c867ec5e67cbec07c (diff) | |
download | ayatana-indicator-display-0d5b74072a874ecb08f5cbc471de5ccdd6525cfc.tar.gz ayatana-indicator-display-0d5b74072a874ecb08f5cbc471de5ccdd6525cfc.tar.bz2 ayatana-indicator-display-0d5b74072a874ecb08f5cbc471de5ccdd6525cfc.zip |
Fix action-state-to-variant mapping Fixes: #1410915
Approved by: Ted Gould, PS Jenkins bot
-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() |