diff options
author | Benjamin Berg <bberg@redhat.com> | 2019-02-20 18:21:07 +0100 |
---|---|---|
committer | Benjamin Berg <bberg@redhat.com> | 2019-03-22 13:20:22 +0100 |
commit | 26de770bbd549edd008fd4a89953c1a2e177955e (patch) | |
tree | 2d1423ad52d0bf23a51883ea3cb7d6532684096a | |
parent | 76b6b794ded96f747f9699d02b3abdd23d37112c (diff) | |
download | gnome-settings-daemon-26de770bbd549edd008fd4a89953c1a2e177955e.tar.gz |
smartcard: Fix warnings in g_clear_pointer callback parameter
-rw-r--r-- | plugins/smartcard/gsd-smartcard-service.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/smartcard/gsd-smartcard-service.c b/plugins/smartcard/gsd-smartcard-service.c index 73f2e03c..783624f6 100644 --- a/plugins/smartcard/gsd-smartcard-service.c +++ b/plugins/smartcard/gsd-smartcard-service.c @@ -607,7 +607,7 @@ static void destroy_register_new_token_operation (RegisterNewTokenOperation *operation) { g_clear_pointer (&operation->main_thread_source, - (GDestroyNotify) g_source_destroy); + g_source_destroy); PK11_FreeSlot (operation->card_slot); g_free (operation->object_path); g_free (operation); @@ -740,7 +740,6 @@ static void destroy_synchronize_token_operation (SynchronizeTokenOperation *operation) { g_clear_pointer (&operation->main_thread_source, - (GDestroyNotify) g_source_destroy); PK11_FreeSlot (operation->card_slot); g_free (operation); |