[gnome-shell] util: Don't pass too many arguments to child_watch_add
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] util: Don't pass too many arguments to child_watch_add
- Date: Mon, 28 Apr 2014 14:23:05 +0000 (UTC)
commit f8bac5c19769672fc38cb9f927bb633e2d45d3a7
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Apr 28 10:16:56 2014 -0400
util: Don't pass too many arguments to child_watch_add
js/misc/util.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/misc/util.js b/js/misc/util.js
index ba5de4a..e78c551 100644
--- a/js/misc/util.js
+++ b/js/misc/util.js
@@ -129,7 +129,7 @@ function trySpawn(argv)
// Dummy child watch; we don't want to double-fork internally
// because then we lose the parent-child relationship, which
// can break polkit. See https://bugzilla.redhat.com//show_bug.cgi?id=819275
- GLib.child_watch_add(GLib.PRIORITY_DEFAULT, pid, function () {}, null);
+ GLib.child_watch_add(GLib.PRIORITY_DEFAULT, pid, function () {});
}
// trySpawnCommandLine:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]