summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2016-08-25 10:54:29 -0400
committerRay Strode <rstrode@redhat.com>2016-08-29 12:25:52 -0400
commitc3c6ece1ad5b477ea22e2027245c191de504f852 (patch)
tree237ac91e3d07ddba327dd7c7bf7e6772e6353379
parent7f9578d15e70b2d661127d4f8a4f29fac709e0c7 (diff)
downloadgdm-c3c6ece1ad5b477ea22e2027245c191de504f852.tar.gz
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
-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 87cfc51e..eac1dab2 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);