[vala/0.36] x11: Fix return type of XInternAtoms and XGetAtomNames bindings



commit 6912177ae1861c2e4c799ed6b652e30f576c788c
Author: David Hewitt <davidmhewitt gmail com>
Date:   Wed Jul 24 18:27:18 2019 +0000

    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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]