forked from AuroraMiddleware/gtk
Drop gdk_screen_get_root_window
This function is no longer used.
This commit is contained in:
parent
463fba18a6
commit
524fcbecfd
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user