diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2016-01-26 10:14:54 +0800 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2016-08-25 12:31:40 +0800 |
commit | d2385bec093a85f62a06a65208bce5617a10b9a2 (patch) | |
tree | e54a15d853f35ee69df1f82b1fc82018b4b34cf5 /gdk/wayland/gdkdisplay-wayland.c | |
parent | e53d381430dd2eeaf8bb04ca4ffc7a9107fbb9ac (diff) | |
download | gtk+-d2385bec093a85f62a06a65208bce5617a10b9a2.tar.gz |
wayland: Remove gdk_wayland_display_get_xdg_shell()
Don't expose the xdg_shell struct as it is not yet a stable type that
will stay the same.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Diffstat (limited to 'gdk/wayland/gdkdisplay-wayland.c')
-rw-r--r-- | gdk/wayland/gdkdisplay-wayland.c | 18 |
1 files changed, 0 insertions, 18 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 { |