[gtk+] wayland: Remove gdk_wayland_display_get_xdg_shell()



commit d2385bec093a85f62a06a65208bce5617a10b9a2
Author: Jonas Ådahl <jadahl gmail com>
Date:   Tue Jan 26 10:14:54 2016 +0800

    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

 gdk/wayland/gdkdisplay-wayland.c |   18 ------------------
 gdk/wayland/gdkwaylanddisplay.h  |    2 --
 2 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c
index 26a13eb..3920df7 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 b2e7d5a..a5587ca 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]