[gnome-usage] quit-process-dialog: Kill the process' PID not Usage's
- From: Gitlab Administrative User <gitlab src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-usage] quit-process-dialog: Kill the process' PID not Usage's
- Date: Thu, 9 Nov 2017 13:51:12 +0000 (UTC)
commit 87fc1d01f50e3c60f04d2cd62a2f385731d2e653
Author: Felipe Borges <felipeborges gnome org>
Date: Thu Nov 9 14:49:19 2017 +0100
quit-process-dialog: Kill the process' PID not Usage's
By not assigning the PID argument to the object property we are
actually killing Usage itself instead of the given process.
src/quit-process-dialog.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/quit-process-dialog.vala b/src/quit-process-dialog.vala
index 46e78e4..34ed27c 100644
--- a/src/quit-process-dialog.vala
+++ b/src/quit-process-dialog.vala
@@ -29,6 +29,8 @@ namespace Usage
public QuitProcessDialog(Pid pid, string app_name)
{
+ this.pid = pid;
+
this.text = this.text.printf(app_name);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]