aboutsummaryrefslogtreecommitdiff
path: root/src/menubar.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/menubar.vala')
-rw-r--r--src/menubar.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/menubar.vala b/src/menubar.vala
index 1556aef..e5c47c9 100644
--- a/src/menubar.vala
+++ b/src/menubar.vala
@@ -162,7 +162,11 @@ public class MenuBar : Gtk.MenuBar
{
if (pid > 0)
{
+#if VALA_0_40
Posix.kill (pid, Posix.Signal.TERM);
+#else
+ Posix.kill (pid, Posix.SIGTERM);
+#endif
int status;
Posix.waitpid (pid, out status, 0);
pid = 0;