[gdm] gdm-x-session: fix pointer confusion in UpdateActivationEnv call



commit 298ab37fbb8f819477d783cab0d9ece05a115d34
Author: Ray Strode <rstrode redhat com>
Date:   Tue Feb 9 11:34:30 2016 -0500

    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.

 daemon/gdm-x-session.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-x-session.c b/daemon/gdm-x-session.c
index 41e4118..6957c83 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]