[gtk+] Drop gdk_display_get_root_window
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Drop gdk_display_get_root_window
- Date: Mon, 6 Nov 2017 02:46:30 +0000 (UTC)
commit 20fab69c38c02a3fc37930f8b21ffb9a33cbe11d
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Nov 5 21:45:14 2017 -0500
Drop gdk_display_get_root_window
This is no longer used.
gdk/broadway/gdkdisplay-broadway.c | 9 ---------
gdk/gdkdisplay.c | 6 ------
gdk/gdkdisplayprivate.h | 3 ---
gdk/quartz/gdkdisplay-quartz.c | 7 -------
gdk/wayland/gdkdisplay-wayland.c | 7 -------
gdk/win32/gdkdisplay-win32.c | 1 -
gdk/x11/gdkdisplay-x11.c | 1 -
7 files changed, 0 insertions(+), 34 deletions(-)
---
diff --git a/gdk/broadway/gdkdisplay-broadway.c b/gdk/broadway/gdkdisplay-broadway.c
index fbf53aa..1d1b6a3 100644
--- a/gdk/broadway/gdkdisplay-broadway.c
+++ b/gdk/broadway/gdkdisplay-broadway.c
@@ -326,14 +326,6 @@ gdk_broadway_display_get_setting (GdkDisplay *display,
return FALSE;
}
-static GdkWindow *
-gdk_broadway_display_get_root_window (GdkDisplay *display)
-{
- GdkBroadwayDisplay *broadway_display = GDK_BROADWAY_DISPLAY (display);
-
- return broadway_display->root_window;
-}
-
static void
gdk_broadway_display_class_init (GdkBroadwayDisplayClass * class)
{
@@ -379,5 +371,4 @@ gdk_broadway_display_class_init (GdkBroadwayDisplayClass * class)
display_class->get_monitor = gdk_broadway_display_get_monitor;
display_class->get_primary_monitor = gdk_broadway_display_get_primary_monitor;
display_class->get_setting = gdk_broadway_display_get_setting;
- display_class->get_root_window = gdk_broadway_display_get_root_window;
}
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 9746714..bc6a5ef 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -2231,9 +2231,3 @@ gdk_display_setting_changed (GdkDisplay *display,
{
g_signal_emit (display, signals[SETTING_CHANGED], 0, name);
}
-
-GdkWindow *
-gdk_display_get_root_window (GdkDisplay *display)
-{
- return GDK_DISPLAY_GET_CLASS (display)->get_root_window (display);
-}
diff --git a/gdk/gdkdisplayprivate.h b/gdk/gdkdisplayprivate.h
index 40e1eea..493f730 100644
--- a/gdk/gdkdisplayprivate.h
+++ b/gdk/gdkdisplayprivate.h
@@ -215,7 +215,6 @@ struct _GdkDisplayClass
gboolean (*get_setting) (GdkDisplay *display,
const char *name,
GValue *value);
- GdkWindow * (*get_root_window) (GdkDisplay *display);
/* Signals */
void (*opened) (GdkDisplay *display);
@@ -299,8 +298,6 @@ void gdk_display_emit_opened (GdkDisplay *display
void gdk_display_setting_changed (GdkDisplay *display,
const char *name);
-GdkWindow * gdk_display_get_root_window (GdkDisplay *display);
-
G_END_DECLS
#endif /* __GDK_DISPLAY_PRIVATE_H__ */
diff --git a/gdk/quartz/gdkdisplay-quartz.c b/gdk/quartz/gdkdisplay-quartz.c
index f85173d..07d55b8 100644
--- a/gdk/quartz/gdkdisplay-quartz.c
+++ b/gdk/quartz/gdkdisplay-quartz.c
@@ -242,12 +242,6 @@ gdk_quartz_display_finalize (GObject *object)
G_OBJECT_CLASS (gdk_quartz_display_parent_class)->finalize (object);
}
-static GdkWindow *
-gdk_quartz_display_get_root_window (GdkDisplay *display)
-{
- return _gdk_root;
-}
-`
static void
gdk_quartz_display_class_init (GdkQuartzDisplayClass *class)
{
@@ -293,7 +287,6 @@ gdk_quartz_display_class_init (GdkQuartzDisplayClass *class)
display_class->get_monitor = gdk_quartz_display_get_monitor;
display_class->get_primary_monitor = gdk_quartz_display_get_primary_monitor;
display_class->get_setting = gdk_quartz_display_get_setting;
- display_class->get_root_window = gdk_quartz_display_get_root_window;
ProcessSerialNumber psn = { 0, kCurrentProcess };
diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c
index 9e6290d..9cfebac 100644
--- a/gdk/wayland/gdkdisplay-wayland.c
+++ b/gdk/wayland/gdkdisplay-wayland.c
@@ -993,12 +993,6 @@ gdk_wayland_display_get_monitor_at_window (GdkDisplay *display,
return NULL;
}
-static GdkWindow *
-gdk_wayland_display_get_root_window (GdkDisplay *display)
-{
- return GDK_WAYLAND_DISPLAY (display)->root_window;
-}
-
static gboolean gdk_wayland_display_get_setting (GdkDisplay *display,
const char *name,
GValue *value);
@@ -1058,7 +1052,6 @@ gdk_wayland_display_class_init (GdkWaylandDisplayClass *class)
display_class->get_monitor = gdk_wayland_display_get_monitor;
display_class->get_monitor_at_window = gdk_wayland_display_get_monitor_at_window;
display_class->get_setting = gdk_wayland_display_get_setting;
- display_class->get_root_window = gdk_wayland_display_get_root_window;
}
static void
diff --git a/gdk/win32/gdkdisplay-win32.c b/gdk/win32/gdkdisplay-win32.c
index 55fe437..e37e0c5 100644
--- a/gdk/win32/gdkdisplay-win32.c
+++ b/gdk/win32/gdkdisplay-win32.c
@@ -1289,7 +1289,6 @@ gdk_win32_display_class_init (GdkWin32DisplayClass *klass)
#endif
display_class->get_setting = gdk_win32_display_get_setting;
- display_class->get_root_window = gdk_win32_display_get_root_window;
_gdk_win32_windowing_init ();
}
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
index 6ecab62..5159778 100644
--- a/gdk/x11/gdkdisplay-x11.c
+++ b/gdk/x11/gdkdisplay-x11.c
@@ -3239,7 +3239,6 @@ gdk_x11_display_class_init (GdkX11DisplayClass * class)
display_class->get_monitor = gdk_x11_display_get_monitor;
display_class->get_primary_monitor = gdk_x11_display_get_primary_monitor;
display_class->get_setting = gdk_x11_display_get_setting;
- display_class->get_root_window = gdk_x11_display_get_root_window;
_gdk_x11_windowing_init ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]