aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);