forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
e53d381430
commit
d2385bec09
@ -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 {
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user