forked from AuroraMiddleware/gtk
gdkwindow: Provide a default implementation of process_updates_recurse
As a quick code cleanup.
This commit is contained in:
parent
a1fb252eba
commit
58715796d2
@ -1480,13 +1480,6 @@ gdk_broadway_window_set_composited (GdkWindow *window,
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_broadway_window_process_updates_recurse (GdkWindow *window,
|
||||
cairo_region_t *region)
|
||||
{
|
||||
_gdk_window_process_updates_recurse (window, region);
|
||||
}
|
||||
|
||||
void
|
||||
_gdk_broadway_display_before_process_all_updates (GdkDisplay *display)
|
||||
{
|
||||
@ -1582,7 +1575,6 @@ gdk_window_impl_broadway_class_init (GdkWindowImplBroadwayClass *klass)
|
||||
impl_class->destroy_notify = gdk_broadway_window_destroy_notify;
|
||||
impl_class->register_dnd = _gdk_broadway_window_register_dnd;
|
||||
impl_class->drag_begin = _gdk_broadway_window_drag_begin;
|
||||
impl_class->process_updates_recurse = gdk_broadway_window_process_updates_recurse;
|
||||
impl_class->sync_rendering = _gdk_broadway_window_sync_rendering;
|
||||
impl_class->simulate_key = _gdk_broadway_window_simulate_key;
|
||||
impl_class->simulate_button = _gdk_broadway_window_simulate_button;
|
||||
|
@ -651,13 +651,6 @@ gdk_offscreen_window_set_transient_for (GdkWindow *window,
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_offscreen_window_process_updates_recurse (GdkWindow *window,
|
||||
cairo_region_t *region)
|
||||
{
|
||||
_gdk_window_process_updates_recurse (window, region);
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_offscreen_window_get_frame_extents (GdkWindow *window,
|
||||
GdkRectangle *rect)
|
||||
@ -760,7 +753,6 @@ gdk_offscreen_window_class_init (GdkOffscreenWindowClass *klass)
|
||||
impl_class->destroy_notify = NULL;
|
||||
impl_class->register_dnd = gdk_offscreen_window_do_nothing;
|
||||
impl_class->drag_begin = NULL;
|
||||
impl_class->process_updates_recurse = gdk_offscreen_window_process_updates_recurse;
|
||||
impl_class->sync_rendering = NULL;
|
||||
impl_class->simulate_key = NULL;
|
||||
impl_class->simulate_button = NULL;
|
||||
|
@ -39,10 +39,18 @@ gdk_window_impl_beep (GdkWindow *window)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_window_impl_process_updates_recurse (GdkWindow *window,
|
||||
cairo_region_t *region)
|
||||
{
|
||||
_gdk_window_process_updates_recurse (window, region);
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_window_impl_class_init (GdkWindowImplClass *impl_class)
|
||||
{
|
||||
impl_class->beep = gdk_window_impl_beep;
|
||||
impl_class->process_updates_recurse = gdk_window_impl_process_updates_recurse;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -1804,13 +1804,6 @@ gdk_wayland_window_destroy_notify (GdkWindow *window)
|
||||
g_object_unref (window);
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_wayland_window_process_updates_recurse (GdkWindow *window,
|
||||
cairo_region_t *region)
|
||||
{
|
||||
_gdk_window_process_updates_recurse (window, region);
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_wayland_window_sync_rendering (GdkWindow *window)
|
||||
{
|
||||
@ -2026,7 +2019,6 @@ _gdk_window_impl_wayland_class_init (GdkWindowImplWaylandClass *klass)
|
||||
impl_class->get_drag_protocol = _gdk_wayland_window_get_drag_protocol;
|
||||
impl_class->register_dnd = _gdk_wayland_window_register_dnd;
|
||||
impl_class->drag_begin = _gdk_wayland_window_drag_begin;
|
||||
impl_class->process_updates_recurse = gdk_wayland_window_process_updates_recurse;
|
||||
impl_class->sync_rendering = gdk_wayland_window_sync_rendering;
|
||||
impl_class->simulate_key = gdk_wayland_window_simulate_key;
|
||||
impl_class->simulate_button = gdk_wayland_window_simulate_button;
|
||||
|
@ -3250,13 +3250,6 @@ gdk_win32_input_shape_combine_region (GdkWindow *window,
|
||||
gdk_win32_window_shape_combine_region (window, shape_region, offset_x, offset_y);
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_win32_window_process_updates_recurse (GdkWindow *window,
|
||||
cairo_region_t *region)
|
||||
{
|
||||
_gdk_window_process_updates_recurse (window, region);
|
||||
}
|
||||
|
||||
gboolean
|
||||
gdk_win32_window_is_win32 (GdkWindow *window)
|
||||
{
|
||||
@ -3452,7 +3445,6 @@ gdk_window_impl_win32_class_init (GdkWindowImplWin32Class *klass)
|
||||
impl_class->get_drag_protocol = _gdk_win32_window_get_drag_protocol;
|
||||
impl_class->register_dnd = _gdk_win32_window_register_dnd;
|
||||
impl_class->drag_begin = _gdk_win32_window_drag_begin;
|
||||
impl_class->process_updates_recurse = gdk_win32_window_process_updates_recurse;
|
||||
//? impl_class->sync_rendering = _gdk_win32_window_sync_rendering;
|
||||
impl_class->simulate_key = _gdk_win32_window_simulate_key;
|
||||
impl_class->simulate_button = _gdk_win32_window_simulate_button;
|
||||
|
@ -5491,13 +5491,6 @@ gdk_x11_window_set_composited (GdkWindow *window,
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_x11_window_process_updates_recurse (GdkWindow *window,
|
||||
cairo_region_t *region)
|
||||
{
|
||||
_gdk_window_process_updates_recurse (window, region);
|
||||
}
|
||||
|
||||
void
|
||||
_gdk_x11_display_before_process_all_updates (GdkDisplay *display)
|
||||
{
|
||||
@ -5816,7 +5809,6 @@ gdk_window_impl_x11_class_init (GdkWindowImplX11Class *klass)
|
||||
impl_class->get_drag_protocol = gdk_x11_window_get_drag_protocol;
|
||||
impl_class->register_dnd = _gdk_x11_window_register_dnd;
|
||||
impl_class->drag_begin = _gdk_x11_window_drag_begin;
|
||||
impl_class->process_updates_recurse = gdk_x11_window_process_updates_recurse;
|
||||
impl_class->sync_rendering = _gdk_x11_window_sync_rendering;
|
||||
impl_class->simulate_key = _gdk_x11_window_simulate_key;
|
||||
impl_class->simulate_button = _gdk_x11_window_simulate_button;
|
||||
|
Loading…
Reference in New Issue
Block a user