Commit 56e89a31 authored by Jens Georg's avatar Jens Georg

Prevent compile issue with VALA < 0.40

parent 4d578003
Pipeline #76791 passed with stage
in 19 minutes and 26 seconds
......@@ -232,7 +232,11 @@ public class VideoReader {
debug("Thumbnailer timer called");
if (thumbnailer_pid != 0) {
debug("Killing thumbnailer process: %d", thumbnailer_pid);
#if VALA_0_40
Posix.kill(thumbnailer_pid, Posix.Signal.KILL);
#else
Posix.kill(thumbnailer_pid, Posix.SIGKILL);
#endif
}
return false; // Don't call again.
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment