From 6912177ae1861c2e4c799ed6b652e30f576c788c Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Wed, 24 Jul 2019 18:27:18 +0000 Subject: [PATCH] x11: Fix return type of XInternAtoms and XGetAtomNames bindings --- vapi/x11.vapi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vapi/x11.vapi b/vapi/x11.vapi index 2215cd172..aecc667db 100644 --- a/vapi/x11.vapi +++ b/vapi/x11.vapi @@ -129,13 +129,13 @@ namespace X { public Atom intern_atom (string atom_name, bool only_if_exists); [CCode (cname = "XInternAtoms")] - public void intern_atoms (string[] names, bool only_if_exists, [CCode (array_length = false)] Atom[] atoms_return); + public Status intern_atoms (string[] names, bool only_if_exists, [CCode (array_length = false)] Atom[] atoms_return); [CCode (cname = "XGetAtomName")] public string get_atom_name (X.Atom atom); [CCode (cname = "XGetAtomNames")] - public string get_atom_names (Atom[] atoms, [CCode (array_length = false)] out string[] names); + public Status get_atom_names (Atom[] atoms, [CCode (array_length = false)] out string[] names); [CCode (cname = "XDeleteProperty")] public int delete_property (Window w, X.Atom property); -- 2.47.2