From 4094b053d612dfa0156571be2e621424290e97ff Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Tue, 20 Sep 2016 12:08:09 +0200 Subject: [PATCH] glib-2.0: Allow null as argmument for string.escape() --- vapi/glib-2.0.vapi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index fc90df409..a2a315c82 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -1039,7 +1039,7 @@ public class string { [CCode (cname = "g_strconcat")] public string concat (string string2, ...); [CCode (cname = "g_strescape")] - public string escape (string exceptions); + public string escape (string? exceptions = null); [CCode (cname = "g_strcompress")] public string compress (); [CCode (cname = "g_strsplit", array_length = false, array_null_terminated = true)] -- 2.47.2