mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
wayland: Make gdk_wayland_window_get_wl_output() private
There is no need to make it a public API, move it to the private header instead. https://bugzilla.gnome.org/show_bug.cgi?id=766566
This commit is contained in:
parent
6c939c0e72
commit
0b58c96f06
@ -1245,7 +1245,6 @@ gdk_wayland_display_get_wl_display
|
||||
gdk_wayland_display_get_xdg_shell
|
||||
gdk_wayland_window_get_wl_surface
|
||||
gdk_wayland_window_set_use_custom_surface
|
||||
gdk_wayland_window_get_wl_output
|
||||
|
||||
<SUBSECTION Standard>
|
||||
GDK_TYPE_WAYLAND_DEVICE
|
||||
|
@ -274,4 +274,6 @@ EGLSurface gdk_wayland_window_get_dummy_egl_surface (GdkWindow *window,
|
||||
void gdk_wayland_seat_set_global_cursor (GdkSeat *seat,
|
||||
GdkCursor *cursor);
|
||||
|
||||
struct wl_output *gdk_wayland_window_get_wl_output (GdkWindow *window);
|
||||
|
||||
#endif /* __GDK_PRIVATE_WAYLAND_H__ */
|
||||
|
@ -59,8 +59,6 @@ void gdk_wayland_window_set_dbus_properties_libgtk_only (Gdk
|
||||
const char *window_object_path,
|
||||
const char *application_object_path,
|
||||
const char *unique_bus_name);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
struct wl_output *gdk_wayland_window_get_wl_output (GdkWindow *window);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -2954,17 +2954,6 @@ gdk_wayland_window_get_wl_surface (GdkWindow *window)
|
||||
return GDK_WINDOW_IMPL_WAYLAND (window->impl)->display_server.wl_surface;
|
||||
}
|
||||
|
||||
/**
|
||||
* gdk_wayland_window_get_wl_output:
|
||||
* @window: (type GdkWaylandWindow): a #GdkWindow
|
||||
*
|
||||
* Returns the Wayland output a #GdkWindow has last entered.
|
||||
*
|
||||
* Returns: (transfer none): a Wayland wl_output or NULL if the #GdkWindow
|
||||
* is not associated with any Wayland wl_output.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
struct wl_output *
|
||||
gdk_wayland_window_get_wl_output (GdkWindow *window)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user