mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 01:48:55 +00:00
meta: Drop deprecated methods
Both functions were deprecated 20months ago, so should be safe to remove now Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3573>
This commit is contained in:
parent
cc1957a4ba
commit
fa59796afd
@ -291,23 +291,6 @@ meta_compositor_get_feedback_group (MetaCompositor *compositor)
|
||||
return priv->feedback_group;
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_get_feedback_group_for_display:
|
||||
* @display: a #MetaDisplay
|
||||
*
|
||||
* Returns: (transfer none): The feedback group corresponding to @display
|
||||
*/
|
||||
ClutterActor *
|
||||
meta_get_feedback_group_for_display (MetaDisplay *display)
|
||||
{
|
||||
MetaCompositor *compositor;
|
||||
|
||||
g_return_val_if_fail (display, NULL);
|
||||
|
||||
compositor = get_compositor_for_display (display);
|
||||
return meta_compositor_get_feedback_group (compositor);
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_get_window_actors:
|
||||
* @display: a #MetaDisplay
|
||||
|
@ -2537,29 +2537,6 @@ meta_display_modifiers_accelerator_activate (MetaDisplay *display)
|
||||
return freeze;
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_display_supports_extended_barriers:
|
||||
* @display: a #MetaDisplay
|
||||
*
|
||||
* Returns: whether pointer barriers can be supported.
|
||||
*
|
||||
* When running as an X compositor the X server needs XInput 2
|
||||
* version 2.3. When running as a display server it is supported
|
||||
* when running on the native backend.
|
||||
*
|
||||
* Clients should use this method to determine whether their
|
||||
* interfaces should depend on new barrier features.
|
||||
*/
|
||||
gboolean
|
||||
meta_display_supports_extended_barriers (MetaDisplay *display)
|
||||
{
|
||||
MetaContext *context = meta_display_get_context (display);
|
||||
MetaBackend *backend = meta_context_get_backend (context);
|
||||
|
||||
return !!(meta_backend_get_capabilities (backend) &
|
||||
META_BACKEND_CAPABILITY_BARRIERS);
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_display_get_context:
|
||||
* @display: a #MetaDisplay
|
||||
|
@ -40,10 +40,6 @@ ClutterActor *meta_get_window_group_for_display (MetaDisplay *display);
|
||||
META_EXPORT
|
||||
ClutterActor *meta_get_top_window_group_for_display (MetaDisplay *display);
|
||||
|
||||
META_EXPORT
|
||||
G_DEPRECATED_FOR (meta_compositor_get_feedback_group)
|
||||
ClutterActor *meta_get_feedback_group_for_display (MetaDisplay *display);
|
||||
|
||||
META_EXPORT
|
||||
void meta_disable_unredirect_for_display (MetaDisplay *display);
|
||||
|
||||
|
@ -83,10 +83,6 @@ GType meta_display_get_type (void) G_GNUC_CONST;
|
||||
|
||||
#define meta_XFree(p) do { if ((p)) XFree ((p)); } while (0)
|
||||
|
||||
META_EXPORT
|
||||
G_DEPRECATED_FOR (meta_backend_get_capabilities)
|
||||
gboolean meta_display_supports_extended_barriers (MetaDisplay *display);
|
||||
|
||||
META_EXPORT
|
||||
void meta_display_close (MetaDisplay *display,
|
||||
guint32 timestamp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user