diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c index 0209c7c52..3f34f03a1 100644 --- a/src/x11/window-x11.c +++ b/src/x11/window-x11.c @@ -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) { diff --git a/src/x11/window-x11.h b/src/x11/window-x11.h index 63d06cd9c..4977aa9c0 100644 --- a/src/x11/window-x11.h +++ b/src/x11/window-x11.h @@ -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);