[gdm] gdm-x-session: use cancellable in UpdateActivationEnvironment call



commit c3c6ece1ad5b477ea22e2027245c191de504f852
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]