[gtk/matthiasc/for-master: 65/65] Remove an unused backend includes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 65/65] Remove an unused backend includes
- Date: Tue, 7 Apr 2020 19:14:09 +0000 (UTC)
commit 6b7cc8baa6c091cbccdbc9ecfaf420ad15e78951
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Apr 7 15:01:33 2020 -0400
Remove an unused backend includes
These includes are just leftovers.
Every time where we do an #ifdef GDK_WINDOWING... in gtk/,
something went wrong. Don't do it needlessly.
gtk/a11y/gtktreeviewaccessible.c | 3 ---
gtk/a11y/gtkwidgetaccessible.c | 3 ---
gtk/gtkpopover.c | 4 ----
3 files changed, 10 deletions(-)
---
diff --git a/gtk/a11y/gtktreeviewaccessible.c b/gtk/a11y/gtktreeviewaccessible.c
index eb9e6032e8..51a9cf1e7b 100644
--- a/gtk/a11y/gtktreeviewaccessible.c
+++ b/gtk/a11y/gtktreeviewaccessible.c
@@ -18,9 +18,6 @@
#include "config.h"
#include <gtk/gtk.h>
-#ifdef GDK_WINDOWING_X11
-#include <gdk/x11/gdkx.h>
-#endif
#include "gtktreeprivate.h"
#include "gtkwidgetprivate.h"
diff --git a/gtk/a11y/gtkwidgetaccessible.c b/gtk/a11y/gtkwidgetaccessible.c
index 79c38a8f01..38f96c8b7d 100644
--- a/gtk/a11y/gtkwidgetaccessible.c
+++ b/gtk/a11y/gtkwidgetaccessible.c
@@ -18,9 +18,6 @@
#include "config.h"
#include <gtk/gtk.h>
-#ifdef GDK_WINDOWING_X11
-#include <gdk/x11/gdkx.h>
-#endif
#include "gtkwidgetaccessibleprivate.h"
#include "gtknotebookpageaccessible.h"
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index 0f598fa74e..3ef845c41f 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -127,10 +127,6 @@
#include "gtkroundedboxprivate.h"
#include "gsk/gskroundedrectprivate.h"
-#ifdef GDK_WINDOWING_WAYLAND
-#include "wayland/gdkwayland.h"
-#endif
-
#define MNEMONICS_DELAY 300 /* ms */
#define TAIL_GAP_WIDTH 24
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]