mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
Remove unused meta_window_x11_has_active_sync_alarms
Never used AFAICT. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3154>
This commit is contained in:
parent
75a7870259
commit
1a5fb51396
@ -4282,19 +4282,6 @@ meta_window_x11_get_sync_counter (MetaWindow *window)
|
||||
return &priv->sync_counter;
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_window_x11_has_active_sync_alarms (MetaWindow *window)
|
||||
{
|
||||
MetaWindowX11 *window_x11 = META_WINDOW_X11 (window);
|
||||
MetaWindowX11Private *priv = meta_window_x11_get_instance_private (window_x11);
|
||||
|
||||
if (window->frame &&
|
||||
meta_sync_counter_has_sync_alarm (meta_frame_get_sync_counter (window->frame)))
|
||||
return TRUE;
|
||||
|
||||
return meta_sync_counter_has_sync_alarm (&priv->sync_counter);
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_window_x11_is_awaiting_sync_response (MetaWindow *window)
|
||||
{
|
||||
|
@ -104,8 +104,6 @@ gboolean meta_window_x11_can_unredirect (MetaWindowX11 *window_x11);
|
||||
|
||||
MetaSyncCounter * meta_window_x11_get_sync_counter (MetaWindow *window);
|
||||
|
||||
gboolean meta_window_x11_has_active_sync_alarms (MetaWindow *window);
|
||||
|
||||
gboolean meta_window_x11_is_awaiting_sync_response (MetaWindow *window);
|
||||
|
||||
void meta_window_x11_check_update_resize (MetaWindow *window);
|
||||
|
Loading…
Reference in New Issue
Block a user