forked from AuroraMiddleware/gtk
Drop gdk_display_get_root_window
This is no longer used.
This commit is contained in:
parent
063db3630b
commit
20fab69c38
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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__ */
|
||||
|
@ -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 };
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 ();
|
||||
}
|
||||
|
@ -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 ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user