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:
Michel Dänzer 2023-08-06 12:10:21 +02:00 committed by Marge Bot
parent 75a7870259
commit 1a5fb51396
2 changed files with 0 additions and 15 deletions

View File

@ -4282,19 +4282,6 @@ meta_window_x11_get_sync_counter (MetaWindow *window)
return &priv->sync_counter; 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 gboolean
meta_window_x11_is_awaiting_sync_response (MetaWindow *window) meta_window_x11_is_awaiting_sync_response (MetaWindow *window)
{ {

View File

@ -104,8 +104,6 @@ gboolean meta_window_x11_can_unredirect (MetaWindowX11 *window_x11);
MetaSyncCounter * meta_window_x11_get_sync_counter (MetaWindow *window); 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); gboolean meta_window_x11_is_awaiting_sync_response (MetaWindow *window);
void meta_window_x11_check_update_resize (MetaWindow *window); void meta_window_x11_check_update_resize (MetaWindow *window);