clapper: reactable: Fix invalid assert check

Fix a copy-paste bug. There is no item to check in this function.
This commit is contained in:
Rafał Dzięgiel
2025-06-09 20:57:38 +02:00
parent f3b120f451
commit 0f929014d5

View File

@@ -202,7 +202,6 @@ clapper_reactable_queue_clear_sync (ClapperReactable *self)
ClapperQueue *queue;
g_return_if_fail (CLAPPER_IS_REACTABLE (self));
g_return_if_fail (CLAPPER_IS_MEDIA_ITEM (item));
CLAPPER_REACTABLE_DO_WITH_QUEUE (self, &queue, {
clapper_utils_queue_clear_on_main_sync (queue);