[gtk/present-toplevel-2: 10/34] wayland: Drop dead code



commit 3b62f82b5d59b9338ec538b8596b7f349bd9f8ca
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Mar 9 10:24:30 2020 -0700

    wayland: Drop dead code

 gdk/wayland/gdksurface-wayland.c | 14 --------------
 1 file changed, 14 deletions(-)
---
diff --git a/gdk/wayland/gdksurface-wayland.c b/gdk/wayland/gdksurface-wayland.c
index 202b0331ec..96ce53fc94 100644
--- a/gdk/wayland/gdksurface-wayland.c
+++ b/gdk/wayland/gdksurface-wayland.c
@@ -3345,20 +3345,6 @@ gdk_wayland_surface_minimize (GdkSurface *surface)
 static void
 gdk_wayland_surface_unminimize (GdkSurface *surface)
 {
-  if (GDK_SURFACE_DESTROYED (surface) ||
-      !SURFACE_IS_TOPLEVEL (surface))
-    return;
-
-#if 0
-  if (GDK_SURFACE_IS_MAPPED (surface))
-    {
-      gdk_surface_show (surface);
-    }
-  else
-    {
-      gdk_synthesize_surface_state (surface, GDK_SURFACE_STATE_MINIMIZED, 0);
-    }
-#endif
 }
 
 static void


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