xdg-shell: Bump unstable version to 3

This commit is contained in:
Kristian Høgsberg 2014-02-19 10:14:46 -08:00
parent 283bf373a1
commit c7680b09dd
5 changed files with 5 additions and 5 deletions

View file

@ -686,7 +686,7 @@ static const struct xdg_shell_listener xdg_shell_listener = {
xdg_shell_ping,
};
#define XDG_VERSION 2 /* The version of xdg-shell that we implement */
#define XDG_VERSION 3 /* The version of xdg-shell that we implement */
#ifdef static_assert
static_assert(XDG_VERSION == XDG_SHELL_VERSION_CURRENT,
"Interface version doesn't match implementation version");

View file

@ -325,7 +325,7 @@ static const struct xdg_shell_listener xdg_shell_listener = {
xdg_shell_ping,
};
#define XDG_VERSION 2 /* The version of xdg-shell that we implement */
#define XDG_VERSION 3 /* The version of xdg-shell that we implement */
#ifdef static_assert
static_assert(XDG_VERSION == XDG_SHELL_VERSION_CURRENT,
"Interface version doesn't match implementation version");

View file

@ -4971,7 +4971,7 @@ static const struct xdg_shell_listener xdg_shell_listener = {
xdg_shell_ping,
};
#define XDG_VERSION 2 /* The version of xdg-shell that we implement */
#define XDG_VERSION 3 /* The version of xdg-shell that we implement */
#ifdef static_assert
static_assert(XDG_VERSION == XDG_SHELL_VERSION_CURRENT,
"Interface version doesn't match implementation version");

View file

@ -3545,7 +3545,7 @@ xdg_shell_unversioned_dispatch(const void *implementation,
return 0;
}
#define XDG_SERVER_VERSION 2
#define XDG_SERVER_VERSION 3
static_assert(XDG_SERVER_VERSION == XDG_SHELL_VERSION_CURRENT,
"shell implementation doesn't match protocol version");

View file

@ -43,7 +43,7 @@
Use this enum to check the protocol version, and it will be updated
automatically.
</description>
<entry name="current" value="2" summary="Always the latest version"/>
<entry name="current" value="3" summary="Always the latest version"/>
</enum>