mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-05-07 18:08:05 +02:00
fixup! context: Simplify handling of removal signals
This commit is contained in:
parent
a2a7f35205
commit
da9849613e
1 changed files with 0 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue