[gnome-desktop/ebassi/update-for-gtk4] Remove unnecessary include to GDK
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop/ebassi/update-for-gtk4] Remove unnecessary include to GDK
- Date: Tue, 26 Oct 2021 17:14:52 +0000 (UTC)
commit 308794552e9b03be0dd14b6ca140a50d57cf13e8
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Oct 26 18:14:24 2021 +0100
Remove unnecessary include to GDK
The IdleMonitor class does not need GDK at all.
libgnome-desktop/gnome-idle-monitor.c | 4 ----
libgnome-desktop/gnome-idle-monitor.h | 1 -
2 files changed, 5 deletions(-)
---
diff --git a/libgnome-desktop/gnome-idle-monitor.c b/libgnome-desktop/gnome-idle-monitor.c
index b481c670..677ddf5c 100644
--- a/libgnome-desktop/gnome-idle-monitor.c
+++ b/libgnome-desktop/gnome-idle-monitor.c
@@ -25,10 +25,6 @@
#include <glib.h>
#include <glib/gi18n-lib.h>
-#include <gdk/gdk.h>
-#if defined(GDK_WINDOWING_WAYLAND)
-#include <gdk/gdkwayland.h>
-#endif
#define GNOME_DESKTOP_USE_UNSTABLE_API
#include "gnome-idle-monitor.h"
diff --git a/libgnome-desktop/gnome-idle-monitor.h b/libgnome-desktop/gnome-idle-monitor.h
index 806560ad..1e464232 100644
--- a/libgnome-desktop/gnome-idle-monitor.h
+++ b/libgnome-desktop/gnome-idle-monitor.h
@@ -28,7 +28,6 @@
#endif
#include <glib-object.h>
-#include <gdk/gdk.h>
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]