[gtk/kill-popup-windows: 3/3] Drop gdk_surface_new_temp
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/kill-popup-windows: 3/3] Drop gdk_surface_new_temp
- Date: Fri, 14 Feb 2020 20:20:35 +0000 (UTC)
commit 0492ba73e278af70402f7bc16d58f17d05f6ed7a
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 12cf24b475..48eadea63b 100644
--- a/docs/reference/gdk/gdk4-sections.txt
+++ b/docs/reference/gdk/gdk4-sections.txt
@@ -177,7 +177,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 579f0a755a..81a5dc8437 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -276,6 +276,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]