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-25 13:57:36 -0400
commit23b4478c67f27a8948285ec2b7d11589242c236c (patch)
treebc203439dd0e09f3e36318e4da0fe7de2f237541
parentf56063bf99f515268f212c07e7c5ae96423445bb (diff)
downloadgdm-23b4478c67f27a8948285ec2b7d11589242c236c.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);