[gtk/wip/matthiasc/popup4: 72/79] Drop gdk_surface_new_temp
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup4: 72/79] Drop gdk_surface_new_temp
- Date: Sun, 21 Apr 2019 16:41:07 +0000 (UTC)
commit 983d275b26dd24efad1a0031ccb86c832149d8ad
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Apr 20 04:30:33 2019 +0000
Drop gdk_surface_new_temp
This is no longer used, and the only difference
to gdk_surface_new_popup is input-only, which is
an X11-only concept.
docs/reference/gdk/gdk4-sections.txt | 1 -
gdk/gdksurface.c | 19 -------------------
gdk/gdksurface.h | 2 --
3 files changed, 22 deletions(-)
---
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index 73fbbb2804..f8380cfbe8 100644
--- a/docs/reference/gdk/gdk4-sections.txt
+++ b/docs/reference/gdk/gdk4-sections.txt
@@ -180,7 +180,6 @@ GdkSurfaceTypeHint
GdkSurfaceState
gdk_surface_new_toplevel
gdk_surface_new_popup
-gdk_surface_new_temp
gdk_surface_new_child
gdk_surface_destroy
gdk_surface_get_surface_type
diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c
index 87c9e4aac2..4e9aaa8f29 100644
--- a/gdk/gdksurface.c
+++ b/gdk/gdksurface.c
@@ -556,25 +556,6 @@ gdk_surface_new_popup_full (GdkDisplay *display,
return surface;
}
-/**
- * gdk_surface_new_temp: (constructor)
- * @display: the display to create the surface on
- *
- * Creates a new toplevel temporary surface. The surface will be
- * situated off-screen and not handle output.
- *
- * You most likely do not want to use this function.
- *
- * Returns: (transfer full): the new #GdkSurface
- **/
-GdkSurface *
-gdk_surface_new_temp (GdkDisplay *display)
-{
- g_return_val_if_fail (GDK_IS_DISPLAY (display), NULL);
-
- return gdk_surface_new (display, TRUE, GDK_SURFACE_TEMP, -100, -100, 10, 10);
-}
-
static void
update_pointer_info_foreach (GdkDisplay *display,
GdkDevice *device,
diff --git a/gdk/gdksurface.h b/gdk/gdksurface.h
index 5fe5031992..6b7526e24c 100644
--- a/gdk/gdksurface.h
+++ b/gdk/gdksurface.h
@@ -440,8 +440,6 @@ GdkSurface * gdk_surface_new_popup (GdkDisplay *display,
GDK_AVAILABLE_IN_ALL
GdkSurface * gdk_surface_new_popup_full (GdkDisplay *display,
GdkSurface *parent);
-GDK_AVAILABLE_IN_ALL
-GdkSurface * gdk_surface_new_temp (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
void gdk_surface_destroy (GdkSurface *surface);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]