]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
x11: Fix return type of XInternAtoms and XGetAtomNames bindings
authorDavid Hewitt <davidmhewitt@gmail.com>
Wed, 24 Jul 2019 18:27:18 +0000 (18:27 +0000)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 6 Aug 2019 12:03:29 +0000 (14:03 +0200)
vapi/x11.vapi

index 2215cd172b46b5456936ab21568395f60c269b5f..aecc667db9a0b6d099852826f0ed5e20b84a1016 100644 (file)
@@ -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);