summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-12-30 01:24:05 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-02-14 15:14:52 -0500
commit0492ba73e278af70402f7bc16d58f17d05f6ed7a (patch)
tree6743ed190060415c959f49e3a85f784fa677e1df
parent9e70c5d141ec16008ef2982d49129693b5f8788c (diff)
downloadgtk+-kill-popup-windows.tar.gz
Drop gdk_surface_new_tempkill-popup-windows
GTK is not using this API anymore, and we want to consolidate our surface types to just toplevels and popups.
-rw-r--r--docs/reference/gdk/gdk4-sections.txt1
-rw-r--r--gdk/gdkinternals.h2
-rw-r--r--gdk/gdksurface.h3
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);