summaryrefslogtreecommitdiff
path: root/daemon/gdm-x-session.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2016-02-09 11:34:30 -0500
committerRay Strode <rstrode@redhat.com>2016-02-09 11:34:30 -0500
commit298ab37fbb8f819477d783cab0d9ece05a115d34 (patch)
treefa0c1f1ce38277e36c032ee72df6d619c4ccaa8b /daemon/gdm-x-session.c
parent26ce57d042c4556bda89aac506a609d7850795dd (diff)
downloadgdm-298ab37fbb8f819477d783cab0d9ece05a115d34.tar.gz
gdm-x-session: fix pointer confusion in UpdateActivationEnv call
commit 99eeae91c1f11997521ad3bc016a7b2d23ec7942 introduced a call to UpdateActivationEnvironment but mucked up the GVariantBuilder declaration. This commit fixes that.
Diffstat (limited to 'daemon/gdm-x-session.c')
-rw-r--r--daemon/gdm-x-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gdm-x-session.c b/daemon/gdm-x-session.c
index 41e41184..6957c832 100644
--- a/daemon/gdm-x-session.c
+++ b/daemon/gdm-x-session.c
@@ -379,7 +379,7 @@ spawn_bus (State *state,
GInputStream *input_stream = NULL;
GDataInputStream *data_stream = NULL;
GDBusConnection *connection = NULL;
- GVariantBuilder *builder = NULL;
+ GVariantBuilder builder;
GVariant *reply = NULL;
GError *error = NULL;
const char *bus_env = NULL;