From 891af3729d06fe2d39407f5cbba184f699e870cb Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Wed, 17 Aug 2022 08:46:18 +0200 Subject: [PATCH] glib-2.0: Use g_abort for GLib.Process.abort() beginning with 2.50 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1350 --- vapi/glib-2.0.vapi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 96c1e2306..915fbbb26 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -3711,7 +3711,11 @@ namespace GLib { public static bool if_continued (int status); [NoReturn] +#if GLIB_2_50 + [Version (since = "2.50")] +#else [CCode (cname = "abort", cheader_filename = "stdlib.h")] +#endif public void abort (); [NoReturn] [CCode (cname = "exit", cheader_filename = "stdlib.h")] -- 2.47.2