projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c32c545
)
jhbuild.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 13 Jul 2010 04:41:25 +0000
(12:41 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 13 Jul 2010 04:41:25 +0000
(12:41 +0800)
jhbuild.js
patch
|
blob
|
history
diff --git
a/jhbuild.js
b/jhbuild.js
index
67d4b27
..
b088626
100755
(executable)
--- a/
jhbuild.js
+++ b/
jhbuild.js
@@
-233,7
+233,7
@@
function spawnlog (cwd, s, outfile, errfile) {
GLib.SpawnFlags.DO_NOT_REAP_CHILD + GLib.SpawnFlags.SEARCH_PATH ,
null, null, ret);
GLib.SpawnFlags.DO_NOT_REAP_CHILD + GLib.SpawnFlags.SEARCH_PATH ,
null, null, ret);
- var ctx =
GLib.main_loop
_new (null, false);
+ var ctx =
new GLib.MailLoop.c
_new (null, false);
var started = false;
GLib.child_watch_add(GLib.PRIORITY_DEFAULT, ret.child_pid, function(pid, status) {
var started = false;
GLib.child_watch_add(GLib.PRIORITY_DEFAULT, ret.child_pid, function(pid, status) {
@@
-242,7
+242,7
@@
function spawnlog (cwd, s, outfile, errfile) {
retval.done = true;
if (started) {
console.log("Ending LOOP");
retval.done = true;
if (started) {
console.log("Ending LOOP");
-
GLib.main_loop_quit(ctx
);
+
ctx.quit(
);
}
});
}
});
@@
-317,7
+317,7
@@
function spawnlog (cwd, s, outfile, errfile) {
if (!retval.done) {
started = true;
console.log("STARTING LOOP");
if (!retval.done) {
started = true;
console.log("STARTING LOOP");
-
GLib.main_loop_run(ctx, false
); // wait fore exit?
+
ctx.run(
); // wait fore exit?
}
readstr(out_ch, outfile, 'output');
readstr(err_ch, errfile, 'error');
}
readstr(out_ch, outfile, 'output');
readstr(err_ch, errfile, 'error');