Use #define WL_HIDE_DEPRECATED to avoid deprecated warnings for wl_buffer

This commit is contained in:
Kristian Høgsberg
2013-08-06 19:27:04 -07:00
parent 85c40f2d85
commit 3c17933de8
5 changed files with 3 additions and 3 deletions
-1
View File
@@ -52,7 +52,6 @@
#include <libunwind.h>
#endif
#include <wayland-server.h>
#include "compositor.h"
#include "subsurface-server-protocol.h"
#include "../shared/os-compatibility.h"
+2
View File
@@ -30,6 +30,8 @@ extern "C" {
#include <pixman.h>
#include <xkbcommon/xkbcommon.h>
#define WL_HIDE_DEPRECATED
#include <wayland-server.h>
#include "version.h"
-1
View File
@@ -29,7 +29,6 @@
#include <sys/time.h>
#include <time.h>
#include <wayland-server.h>
#include <wayland-util.h>
#include "compositor.h"
-1
View File
@@ -34,7 +34,6 @@
#include <math.h>
#include <sys/types.h>
#include <wayland-server.h>
#include "compositor.h"
#include "desktop-shell-server-protocol.h"
#include "input-method-server-protocol.h"