[gtk/present-toplevel-2: 157/178] wayland: Drop some unused vfuncs



commit 4ad7b4c2d11fb8f9331068c8b6352c2fbb79bc77
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Mar 9 10:40:29 2020 -0700

    wayland: Drop some unused vfuncs
    
    toplevel_resize is unused in the frontend.

 gdk/wayland/gdksurface-wayland.c | 13 -------------
 1 file changed, 13 deletions(-)
---
diff --git a/gdk/wayland/gdksurface-wayland.c b/gdk/wayland/gdksurface-wayland.c
index d5fdca6520..81457d131f 100644
--- a/gdk/wayland/gdksurface-wayland.c
+++ b/gdk/wayland/gdksurface-wayland.c
@@ -2558,18 +2558,6 @@ gdk_wayland_surface_move_resize (GdkSurface *surface,
   gdk_wayland_surface_maybe_resize (surface, width, height, impl->scale);
 }
 
-static void
-gdk_wayland_surface_toplevel_resize (GdkSurface *surface,
-                                     gint        width,
-                                     gint        height)
-{
-  GdkWaylandSurface *impl = GDK_WAYLAND_SURFACE (surface);
-
-  gdk_wayland_surface_maybe_resize (surface,
-                                    width, height,
-                                    impl->scale);
-}
-
 static gboolean
 is_fallback_relayout_possible (GdkSurface *surface)
 {
@@ -3786,7 +3774,6 @@ gdk_wayland_surface_class_init (GdkWaylandSurfaceClass *klass)
   object_class->finalize = gdk_wayland_surface_finalize;
 
   impl_class->hide = gdk_wayland_surface_hide;
-  impl_class->toplevel_resize = gdk_wayland_surface_toplevel_resize;
   impl_class->present_popup = gdk_wayland_surface_present_popup;
   impl_class->get_geometry = gdk_wayland_surface_get_geometry;
   impl_class->get_root_coords = gdk_wayland_surface_get_root_coords;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]