summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdk/wayland/gdkdisplay-wayland.c18
-rw-r--r--gdk/wayland/gdkwaylanddisplay.h2
2 files changed, 0 insertions, 20 deletions
diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c
index 26a13eb351..3920df7349 100644
--- a/gdk/wayland/gdkdisplay-wayland.c
+++ b/gdk/wayland/gdkdisplay-wayland.c
@@ -1079,24 +1079,6 @@ gdk_wayland_display_get_wl_compositor (GdkDisplay *display)
return GDK_WAYLAND_DISPLAY (display)->compositor;
}
-/**
- * gdk_wayland_display_get_xdg_shell:
- * @display: (type GdkWaylandDisplay): a #GdkDisplay
- *
- * Returns the Wayland global singleton shell of a #GdkDisplay.
- *
- * Returns: (transfer none): a Wayland xdg_shell
- *
- * Since: 3.8
- */
-struct xdg_shell *
-gdk_wayland_display_get_xdg_shell (GdkDisplay *display)
-{
- g_return_val_if_fail (GDK_IS_WAYLAND_DISPLAY (display), NULL);
-
- return GDK_WAYLAND_DISPLAY (display)->xdg_shell;
-}
-
static const cairo_user_data_key_t gdk_wayland_shm_surface_cairo_key;
typedef struct _GdkWaylandCairoSurfaceData {
diff --git a/gdk/wayland/gdkwaylanddisplay.h b/gdk/wayland/gdkwaylanddisplay.h
index b2e7d5a4c7..a5587ca0c0 100644
--- a/gdk/wayland/gdkwaylanddisplay.h
+++ b/gdk/wayland/gdkwaylanddisplay.h
@@ -49,8 +49,6 @@ GDK_AVAILABLE_IN_ALL
struct wl_display *gdk_wayland_display_get_wl_display (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
struct wl_compositor *gdk_wayland_display_get_wl_compositor (GdkDisplay *display);
-GDK_AVAILABLE_IN_ALL
-struct xdg_shell *gdk_wayland_display_get_xdg_shell (GdkDisplay *display);
GDK_AVAILABLE_IN_3_10
void gdk_wayland_display_set_cursor_theme (GdkDisplay *display,
const gchar *theme,