[gtk+] wayland: Put interface version defines in a common place
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] wayland: Put interface version defines in a common place
- Date: Mon, 16 Mar 2015 11:54:17 +0000 (UTC)
commit 7b2cdabc2e6eba035a8c74f0421639ea5230031d
Author: Jonas Ådahl <jadahl gmail com>
Date: Fri Mar 13 21:38:24 2015 +0800
wayland: Put interface version defines in a common place
So far only one, but put it somewhere all files can see it.
https://bugzilla.gnome.org/show_bug.cgi?id=746141
gdk/wayland/gdkprivate-wayland.h | 2 ++
gdk/wayland/gdkwindow-wayland.c | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/wayland/gdkprivate-wayland.h b/gdk/wayland/gdkprivate-wayland.h
index 8fba6b7..dabd22d 100644
--- a/gdk/wayland/gdkprivate-wayland.h
+++ b/gdk/wayland/gdkprivate-wayland.h
@@ -40,6 +40,8 @@
#include "config.h"
+#define WL_SURFACE_HAS_BUFFER_SCALE 3
+
#define GDK_WINDOW_IS_WAYLAND(win) (GDK_IS_WINDOW_IMPL_WAYLAND (((GdkWindow *)win)->impl))
GdkKeymap *_gdk_wayland_keymap_new (void);
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index aa77641..b5f51e8 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -37,8 +37,6 @@
#include <string.h>
#include <errno.h>
-#define WL_SURFACE_HAS_BUFFER_SCALE 3
-
#define WINDOW_IS_TOPLEVEL_OR_FOREIGN(window) \
(GDK_WINDOW_TYPE (window) != GDK_WINDOW_CHILD && \
GDK_WINDOW_TYPE (window) != GDK_WINDOW_OFFSCREEN)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]