forked from AuroraMiddleware/gtk
mir: deprecate gdk_mir_window_get_mir_surface ()
This commit is contained in:
parent
f98e3dd09a
commit
54791b65bd
@ -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
|
||||
|
@ -2110,12 +2110,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