[gtk+] Drop gdk_screen_get_root_window
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Drop gdk_screen_get_root_window
- Date: Wed, 1 Nov 2017 01:31:53 +0000 (UTC)
commit 524fcbecfd4a858946f7c92d37a5a091ef87bf47
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Oct 31 21:28:28 2017 -0400
Drop gdk_screen_get_root_window
This function is no longer used.
gdk/broadway/gdkscreen-broadway.c | 1 -
gdk/gdkinternals.h | 1 -
gdk/gdkscreen.c | 8 --------
gdk/gdkscreenprivate.h | 1 -
gdk/quartz/gdkscreen-quartz.c | 7 -------
gdk/wayland/gdkscreen-wayland.c | 1 -
gdk/win32/gdkscreen-win32.c | 1 -
gdk/x11/gdkscreen-x11.c | 1 -
8 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/gdk/broadway/gdkscreen-broadway.c b/gdk/broadway/gdkscreen-broadway.c
index 207e27b..f038fa8 100644
--- a/gdk/broadway/gdkscreen-broadway.c
+++ b/gdk/broadway/gdkscreen-broadway.c
@@ -139,6 +139,5 @@ gdk_broadway_screen_class_init (GdkBroadwayScreenClass *klass)
object_class->finalize = gdk_broadway_screen_finalize;
screen_class->get_display = gdk_broadway_screen_get_display;
- screen_class->get_root_window = gdk_broadway_screen_get_root_window;
}
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 6674b3b..1a89c0d 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -396,7 +396,6 @@ void _gdk_screen_set_resolution (GdkScreen *screen,
gdouble dpi);
void _gdk_screen_close (GdkScreen *screen);
-GdkWindow *gdk_screen_get_root_window (GdkScreen *screen);
GdkWindow *gdk_get_default_root_window (void);
diff --git a/gdk/gdkscreen.c b/gdk/gdkscreen.c
index 5a04bb7..6eb99b7 100644
--- a/gdk/gdkscreen.c
+++ b/gdk/gdkscreen.c
@@ -117,11 +117,3 @@ gdk_screen_get_display (GdkScreen *screen)
return GDK_SCREEN_GET_CLASS (screen)->get_display (screen);
}
-
-GdkWindow *
-gdk_screen_get_root_window (GdkScreen *screen)
-{
- g_return_val_if_fail (GDK_IS_SCREEN (screen), NULL);
-
- return GDK_SCREEN_GET_CLASS (screen)->get_root_window (screen);
-}
diff --git a/gdk/gdkscreenprivate.h b/gdk/gdkscreenprivate.h
index 04b7a3e..ffc2131 100644
--- a/gdk/gdkscreenprivate.h
+++ b/gdk/gdkscreenprivate.h
@@ -41,7 +41,6 @@ struct _GdkScreenClass
GObjectClass parent_class;
GdkDisplay * (* get_display) (GdkScreen *screen);
- GdkWindow * (* get_root_window) (GdkScreen *screen);
/* Signals: */
void (*monitors_changed) (GdkScreen *screen);
diff --git a/gdk/quartz/gdkscreen-quartz.c b/gdk/quartz/gdkscreen-quartz.c
index f8cd58f..452f84b 100644
--- a/gdk/quartz/gdkscreen-quartz.c
+++ b/gdk/quartz/gdkscreen-quartz.c
@@ -292,12 +292,6 @@ gdk_quartz_screen_get_display (GdkScreen *screen)
return _gdk_display;
}
-static GdkWindow *
-gdk_quartz_screen_get_root_window (GdkScreen *screen)
-{
- return _gdk_root;
-}
-
static gint
get_mm_from_pixels (NSScreen *screen, int pixels)
{
@@ -318,5 +312,4 @@ gdk_quartz_screen_class_init (GdkQuartzScreenClass *klass)
object_class->finalize = gdk_quartz_screen_finalize;
screen_class->get_display = gdk_quartz_screen_get_display;
- screen_class->get_root_window = gdk_quartz_screen_get_root_window;
}
diff --git a/gdk/wayland/gdkscreen-wayland.c b/gdk/wayland/gdkscreen-wayland.c
index 0778225..bf11e35 100644
--- a/gdk/wayland/gdkscreen-wayland.c
+++ b/gdk/wayland/gdkscreen-wayland.c
@@ -614,7 +614,6 @@ _gdk_wayland_screen_class_init (GdkWaylandScreenClass *klass)
object_class->finalize = gdk_wayland_screen_finalize;
screen_class->get_display = gdk_wayland_screen_get_display;
- screen_class->get_root_window = gdk_wayland_screen_get_root_window;
}
static void
diff --git a/gdk/win32/gdkscreen-win32.c b/gdk/win32/gdkscreen-win32.c
index a174b9e..4a93cc7 100644
--- a/gdk/win32/gdkscreen-win32.c
+++ b/gdk/win32/gdkscreen-win32.c
@@ -204,5 +204,4 @@ gdk_win32_screen_class_init (GdkWin32ScreenClass *klass)
object_class->finalize = gdk_win32_screen_finalize;
screen_class->get_display = gdk_win32_screen_get_display;
- screen_class->get_root_window = gdk_win32_screen_get_root_window;
}
diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c
index caf4866..bfa18bf 100644
--- a/gdk/x11/gdkscreen-x11.c
+++ b/gdk/x11/gdkscreen-x11.c
@@ -1282,7 +1282,6 @@ gdk_x11_screen_class_init (GdkX11ScreenClass *klass)
object_class->finalize = gdk_x11_screen_finalize;
screen_class->get_display = gdk_x11_screen_get_display;
- screen_class->get_root_window = gdk_x11_screen_get_root_window;
signals[WINDOW_MANAGER_CHANGED] =
g_signal_new (g_intern_static_string ("window-manager-changed"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]