From da9849613e1e211b0b575c10232e14427d0afc91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 22 Jun 2023 15:46:43 +0200 Subject: [PATCH] fixup! context: Simplify handling of removal signals --- libfprint/fp-context.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libfprint/fp-context.c b/libfprint/fp-context.c index 40bc8aa3..c5c228b7 100644 --- a/libfprint/fp-context.c +++ b/libfprint/fp-context.c @@ -48,8 +48,6 @@ typedef struct GUsbContext *usb_ctx; GCancellable *cancellable; - GSList *sources; - gint pending_devices; gboolean enumerated; @@ -252,8 +250,6 @@ fp_context_finalize (GObject *object) g_clear_pointer (&priv->drivers, g_array_unref); g_clear_pointer (&priv->devices, g_ptr_array_unref); - g_slist_free_full (g_steal_pointer (&priv->sources), (GDestroyNotify) g_source_destroy); - if (priv->usb_ctx) g_object_run_dispose (G_OBJECT (priv->usb_ctx)); g_clear_object (&priv->usb_ctx);