summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2023-02-28 12:29:16 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2023-02-28 12:29:16 +0100
commit97d6ffb154ce0afab2bafb81b824ff7faadb66fa (patch)
treec474d7a975cabcb1d16b0f1ea2d64906cab9cb45 /vapi
parent4c804623b43531bd90a28d7edf62e7fde08c7381 (diff)
downloadvala-97d6ffb154ce0afab2bafb81b824ff7faadb66fa.tar.gz
Require and target GLib >= 2.56
The next stable release of vala will happen over 5 years after the release of GLib 2.56.0. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1415
Diffstat (limited to 'vapi')
-rw-r--r--vapi/glib-2.0.vapi6
1 files changed, 0 insertions, 6 deletions
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 4e7239fc6..c67fc3b99 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2055,10 +2055,8 @@ namespace GLib {
[Version (since = "2.50")]
public const string FORMAT;
-#if GLIB_2_50
[CCode (cname = "g_strdup_printf", instance_pos = -1)]
public string to_string (string format = "%" + FORMAT);
-#endif
}
public delegate void ChildWatchFunc (Pid pid, int wait_status);
@@ -3877,11 +3875,7 @@ 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")]