From 9d277c97d7283e98f6b3ca256a6035d3fd0299ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Tue, 18 Oct 2016 17:16:19 +0200 Subject: [PATCH] Rename xsync.vapi to xext.vapi Since it also contains other stuff, the name is no longer appropriate. --- CMakeLists.txt | 2 +- wdmtg.vala | 2 +- xsync.vapi => xext.vapi | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) rename xsync.vapi => xext.vapi (98%) diff --git a/CMakeLists.txt b/CMakeLists.txt index a8857e3..7142ffe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 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} OUTPUTS project_VALA_C HEADER ${PROJECT_NAME}.h diff --git a/wdmtg.vala b/wdmtg.vala index 829d244..7158f58 100644 --- a/wdmtg.vala +++ b/wdmtg.vala @@ -16,7 +16,7 @@ // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. // // vim: set sw=2 ts=2 sts=2 et tw=80: -// modules: x11 xsync config +// modules: x11 xext config // vapidirs: . ../build build namespace Wdmtg { diff --git a/xsync.vapi b/xext.vapi similarity index 98% rename from xsync.vapi rename to xext.vapi index 9e77b16..f78de6a 100644 --- a/xsync.vapi +++ b/xext.vapi @@ -1,5 +1,5 @@ // -// xsync.vapi: selected XSync APIs +// xext.vapi: various extensions to the x11 vapi // // Copyright (c) 2016, Přemysl Janouch // @@ -18,7 +18,6 @@ // vim: set sw=2 ts=2 sts=2 et tw=80: // modules: x11 -// TODO: move this outside, I didn't expect the Xlib binding to be this shitty namespace X { [CCode (cname = "XErrorHandler", has_target = false)] public delegate int ErrorHandler (Display dpy, ErrorEvent *ee);