[gtk/present-toplevel-2: 35/59] Drop surface minimize api



commit 36548933e2cd5f8831098b8e0dd327ce57889a16
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Mar 3 08:58:14 2020 -0800

    Drop surface minimize api

 gdk/gdksurface.c | 42 ------------------------------------------
 gdk/gdksurface.h |  4 ----
 2 files changed, 46 deletions(-)
---
diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c
index a252d01a89..c360b95665 100644
--- a/gdk/gdksurface.c
+++ b/gdk/gdksurface.c
@@ -2806,48 +2806,6 @@ gdk_surface_set_focus_on_map (GdkSurface *surface,
   GDK_SURFACE_GET_CLASS (surface)->set_focus_on_map (surface, focus_on_map);
 }
 
-/**
- * gdk_surface_minimize:
- * @surface: a toplevel #GdkSurface
- *
- * Asks to minimize the @surface.
- *
- * The windowing system may choose to ignore the request.
- *
- * You can track the result of this request by using the #GdkSurface:state
- * property.
- *
- * This function only makes sense when @surface is a toplevel surface.
- */
-void
-gdk_surface_minimize (GdkSurface *surface)
-{
-  g_return_if_fail (GDK_IS_SURFACE (surface));
-
-  GDK_SURFACE_GET_CLASS (surface)->minimize (surface);
-}
-
-/**
- * gdk_surface_unminimize:
- * @surface: a toplevel #GdkSurface
- *
- * Asks to unminimize the @surface.
- *
- * The windowing system may choose to ignore the request.
- *
- * You can track the result of this request by using the #GdkSurface:state
- * property.
- *
- * This function only makes sense when @surface is a toplevel surface.
- */
-void
-gdk_surface_unminimize (GdkSurface *surface)
-{
-  g_return_if_fail (GDK_IS_SURFACE (surface));
-
-  GDK_SURFACE_GET_CLASS (surface)->unminimize (surface);
-}
-
 void
 gdk_surface_set_fullscreen_mode (GdkSurface        *surface,
                                  GdkFullscreenMode mode)
diff --git a/gdk/gdksurface.h b/gdk/gdksurface.h
index 38dd77930a..af3b1bec09 100644
--- a/gdk/gdksurface.h
+++ b/gdk/gdksurface.h
@@ -436,10 +436,6 @@ cairo_surface_t *
 GDK_AVAILABLE_IN_ALL
 void          gdk_surface_beep            (GdkSurface       *surface);
 GDK_AVAILABLE_IN_ALL
-void          gdk_surface_minimize        (GdkSurface       *surface);
-GDK_AVAILABLE_IN_ALL
-void          gdk_surface_unminimize      (GdkSurface       *surface);
-GDK_AVAILABLE_IN_ALL
 void          gdk_surface_set_opacity     (GdkSurface       *surface,
                                            gdouble          opacity);
 


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