[gtk/drag-icon: 3/3] Drop gdk_surface_new_temp



commit 40f158b56e03e10215c7ccce90c2b591c4e6c64a
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Dec 30 01:24:05 2019 -0500

    Drop gdk_surface_new_temp
    
    GTK is not using this API anymore, and we want
    to consolidate our surface types to just toplevels
    and popups.

 docs/reference/gdk/gdk4-sections.txt | 1 -
 gdk/gdkinternals.h                   | 2 ++
 gdk/gdksurface.h                     | 3 ---
 3 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index 0a03539e2b..c47ab93c25 100644
--- a/docs/reference/gdk/gdk4-sections.txt
+++ b/docs/reference/gdk/gdk4-sections.txt
@@ -178,7 +178,6 @@ GdkSurfaceEdge
 GdkSurfaceTypeHint
 GdkSurfaceState
 gdk_surface_new_toplevel
-gdk_surface_new_temp
 gdk_surface_new_popup
 gdk_surface_get_parent
 gdk_surface_destroy
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 12abe1186d..a9c0d07d00 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -275,6 +275,8 @@ GdkGrabStatus  gdk_seat_grab             (GdkSeat                *seat,
                                           GdkSeatGrabPrepareFunc  prepare_func,
                                           gpointer                prepare_func_data);
 void           gdk_seat_ungrab           (GdkSeat                *seat);
+GdkSurface *   gdk_surface_new_temp             (GdkDisplay    *display,
+                                                 const GdkRectangle *position);
 
 G_END_DECLS
 
diff --git a/gdk/gdksurface.h b/gdk/gdksurface.h
index c968cae369..42a303fd7d 100644
--- a/gdk/gdksurface.h
+++ b/gdk/gdksurface.h
@@ -420,9 +420,6 @@ GdkSurface *   gdk_surface_new_toplevel         (GdkDisplay    *display,
                                                  int            width,
                                                  int            height);
 GDK_AVAILABLE_IN_ALL
-GdkSurface *   gdk_surface_new_temp             (GdkDisplay    *display,
-                                                 const GdkRectangle *position);
-GDK_AVAILABLE_IN_ALL
 GdkSurface *   gdk_surface_new_popup            (GdkDisplay    *display,
                                                  GdkSurface    *parent,
                                                  gboolean       autohide);


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