aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-06-16 23:35:22 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-06-16 23:35:22 +0200
commitb12c6d9683451f8b40bfe4d03a14c6aef96fa4b1 (patch)
tree5d7e7616639abb7146707fcf7d25efb8b7e6c581
parentd1caee539f3580879c53153043c8a7f4e49f7056 (diff)
downloadarctica-greeter-b12c6d9683451f8b40bfe4d03a14c6aef96fa4b1.tar.gz
arctica-greeter-b12c6d9683451f8b40bfe4d03a14c6aef96fa4b1.tar.bz2
arctica-greeter-b12c6d9683451f8b40bfe4d03a14c6aef96fa4b1.zip
Use Posix.Signal.* rather than Posix.SIG*. (Vala 0.40 deprecations).
-rw-r--r--src/arctica-greeter.vala6
-rw-r--r--src/menubar.vala2
-rw-r--r--src/settings-daemon.vala2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala
index eaf39cb..8e499b9 100644
--- a/src/arctica-greeter.vala
+++ b/src/arctica-greeter.vala
@@ -954,7 +954,7 @@ public class ArcticaGreeter
if (nmapplet_pid != 0)
{
- Posix.kill (nmapplet_pid, Posix.SIGTERM);
+ Posix.kill (nmapplet_pid, Posix.Signal.TERM);
int status;
Posix.waitpid (nmapplet_pid, out status, 0);
if (Process.if_exited (status))
@@ -966,7 +966,7 @@ public class ArcticaGreeter
if (atspi_pid != 0)
{
- Posix.kill (atspi_pid, Posix.SIGKILL);
+ Posix.kill (atspi_pid, Posix.Signal.KILL);
int status;
Posix.waitpid (atspi_pid, out status, 0);
if (Process.if_exited (status))
@@ -978,7 +978,7 @@ public class ArcticaGreeter
if (marco_pid != 0)
{
- Posix.kill (marco_pid, Posix.SIGTERM);
+ Posix.kill (marco_pid, Posix.Signal.TERM);
int status;
Posix.waitpid (marco_pid, out status, 0);
if (Process.if_exited (status))
diff --git a/src/menubar.vala b/src/menubar.vala
index 644cc15..1556aef 100644
--- a/src/menubar.vala
+++ b/src/menubar.vala
@@ -162,7 +162,7 @@ public class MenuBar : Gtk.MenuBar
{
if (pid > 0)
{
- Posix.kill (pid, Posix.SIGTERM);
+ Posix.kill (pid, Posix.Signal.TERM);
int status;
Posix.waitpid (pid, out status, 0);
pid = 0;
diff --git a/src/settings-daemon.vala b/src/settings-daemon.vala
index e0371ec..59d1dd2 100644
--- a/src/settings-daemon.vala
+++ b/src/settings-daemon.vala
@@ -182,7 +182,7 @@ public class SettingsDaemon : Object
{
if (sd_pid != 0)
{
- Posix.kill (sd_pid, Posix.SIGKILL);
+ Posix.kill (sd_pid, Posix.Signal.KILL);
int status;
Posix.waitpid (sd_pid, out status, 0);
if (Process.if_exited (status))