diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/process.vala | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/process.vala b/src/process.vala index 6e63264..040c44d 100644 --- a/src/process.vala +++ b/src/process.vala @@ -1,5 +1,4 @@ -namespace Astal { -public class Process : Object { +public class Astal.Process : Object { private void read_stream(DataInputStream stream, bool err) { stream.read_line_utf8_async.begin(Priority.DEFAULT, null, (_, res) => { try { @@ -82,7 +81,7 @@ public class Process : Object { if (success) return out_str.strip(); else - throw new ProcessError.FAILED(err_str.strip()); + throw new IOError.FAILED(err_str.strip()); } public static string exec(string cmd) throws Error { @@ -120,7 +119,3 @@ public class Process : Object { return new Process.exec_asyncv(argv); } } -errordomain ProcessError { - FAILED -} -} |