aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-03-22 08:15:38 -0500
committerCharles Kerr <charles.kerr@canonical.com>2016-03-22 08:15:38 -0500
commitcc2e2265ada413826e199248dee90a19db31b741 (patch)
tree8122f42f39d2df6f1fa1e8c419bcbdaa79a44cbd /src
parent70209f30bc6907ad545e33dc6e7de78cf63b9e9a (diff)
downloadayatana-indicator-display-cc2e2265ada413826e199248dee90a19db31b741.tar.gz
ayatana-indicator-display-cc2e2265ada413826e199248dee90a19db31b741.tar.bz2
ayatana-indicator-display-cc2e2265ada413826e199248dee90a19db31b741.zip
fix typo
Diffstat (limited to 'src')
-rw-r--r--src/greeter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/greeter.cpp b/src/greeter.cpp
index cffa376..f9cd965 100644
--- a/src/greeter.cpp
+++ b/src/greeter.cpp
@@ -103,8 +103,8 @@ private:
g_clear_error(&error);
} else {
GVariant* is_active {};
- g_variant_get_child(v, 0, "v", &is_active_v);
- static_cast<Impl*>(gself)->m_is_active.set(g_variant_get_boolean(is_active);
+ g_variant_get_child(v, 0, "v", &is_active);
+ static_cast<Impl*>(gself)->m_is_active.set(g_variant_get_boolean(is_active));
g_clear_pointer(&is_active, g_variant_unref);
}
g_clear_pointer(&v, g_variant_unref);