forked from AuroraMiddleware/gtk
mir: deprecate gdk_mir_window_get_mir_surface ()
This commit is contained in:
parent
45d33b063f
commit
6f3d1e1046
@ -41,7 +41,7 @@ MirConnection *gdk_mir_display_get_mir_connection (GdkDisplay *display);
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GType gdk_mir_window_get_type (void);
|
||||
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_DEPRECATED_IN_3_22
|
||||
MirSurface *gdk_mir_window_get_mir_surface (GdkWindow *window);
|
||||
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
|
@ -2289,12 +2289,17 @@ _gdk_mir_window_get_dummy_egl_surface (GdkWindow *window,
|
||||
return impl->dummy_egl_surface;
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
|
||||
MirSurface *
|
||||
gdk_mir_window_get_mir_surface (GdkWindow *window)
|
||||
{
|
||||
return _gdk_mir_window_get_mir_window (window);
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
MirWindow *
|
||||
_gdk_mir_window_get_mir_window (GdkWindow *window)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user