[gdm/wip/import-user-env: 1/5] gdm-x-session: use cancellable in UpdateActivationEnvironment call



commit 23b4478c67f27a8948285ec2b7d11589242c236c
Author: Ray Strode <rstrode redhat com>
Date:   Thu Aug 25 10:54:29 2016 -0400

    gdm-x-session: use cancellable in UpdateActivationEnvironment call
    
    I just noticed when reading the code that we pass a cancellable into
    the function, but then don't use it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770396

 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 87cfc51..eac1dab 100644
--- a/daemon/gdm-x-session.c
+++ b/daemon/gdm-x-session.c
@@ -405,7 +405,7 @@ update_bus_environment (State        *state,
                                                             g_variant_builder_end (&builder)),
                                              NULL,
                                              G_DBUS_CALL_FLAGS_NONE,
-                                             -1, NULL, &error);
+                                             -1, cancellable, &error);
 
         if (reply == NULL) {
                 g_debug ("could not update activation environment: %s", error->message);


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