[gnome-desktop/ebassi/update-for-gtk4: 9/23] 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: 9/23] Remove unnecessary include to GDK
- Date: Tue, 9 Nov 2021 16:19:44 +0000 (UTC)
commit 3ca3b0076b66065c2af544a841c1f16a19cde092
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]