Rename xsync.vapi to xext.vapi

Since it also contains other stuff, the name is no longer appropriate.
This commit is contained in:
Přemysl Eric Janouch 2016-10-18 17:16:19 +02:00
parent 377fe478e2
commit 9d277c97d7
Signed by: p
GPG Key ID: B715679E3A361BE6
3 changed files with 3 additions and 4 deletions

View File

@ -40,7 +40,7 @@ configure_file (${PROJECT_SOURCE_DIR}/config.vala.in "${config_path}")
# seems to be so that symbols are exported for GModule to see # seems to be so that symbols are exported for GModule to see
set (symbols_path "${PROJECT_BINARY_DIR}/${PROJECT_NAME}.def") set (symbols_path "${PROJECT_BINARY_DIR}/${PROJECT_NAME}.def")
set (project_VALA_SOURCES ${config_path} ${PROJECT_NAME}.vala xsync.vapi) set (project_VALA_SOURCES ${config_path} ${PROJECT_NAME}.vala xext.vapi)
vala_precompile (${project_VALA_SOURCES} vala_precompile (${project_VALA_SOURCES}
OUTPUTS project_VALA_C OUTPUTS project_VALA_C
HEADER ${PROJECT_NAME}.h HEADER ${PROJECT_NAME}.h

View File

@ -16,7 +16,7 @@
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
// //
// vim: set sw=2 ts=2 sts=2 et tw=80: // vim: set sw=2 ts=2 sts=2 et tw=80:
// modules: x11 xsync config // modules: x11 xext config
// vapidirs: . ../build build // vapidirs: . ../build build
namespace Wdmtg { namespace Wdmtg {

View File

@ -1,5 +1,5 @@
// //
// xsync.vapi: selected XSync APIs // xext.vapi: various extensions to the x11 vapi
// //
// Copyright (c) 2016, Přemysl Janouch <p.janouch@gmail.com> // Copyright (c) 2016, Přemysl Janouch <p.janouch@gmail.com>
// //
@ -18,7 +18,6 @@
// vim: set sw=2 ts=2 sts=2 et tw=80: // vim: set sw=2 ts=2 sts=2 et tw=80:
// modules: x11 // modules: x11
// TODO: move this outside, I didn't expect the Xlib binding to be this shitty
namespace X { namespace X {
[CCode (cname = "XErrorHandler", has_target = false)] [CCode (cname = "XErrorHandler", has_target = false)]
public delegate int ErrorHandler (Display dpy, ErrorEvent *ee); public delegate int ErrorHandler (Display dpy, ErrorEvent *ee);