[Spice-commits] server/smartcard-channel-client.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Oct 9 07:45:50 UTC 2019


 server/smartcard-channel-client.c |   26 --------------------------
 1 file changed, 26 deletions(-)

New commits:
commit 8d4d4e3a3924a2723a37234ad811fdbd6a1a1ccd
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Tue Oct 8 12:41:35 2019 +0100

    smartcard-channel-client: Remove properties code
    
    Not used
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Victor Toso <victortoso at redhat.com>

diff --git a/server/smartcard-channel-client.c b/server/smartcard-channel-client.c
index f71b6523..d47b442e 100644
--- a/server/smartcard-channel-client.c
+++ b/server/smartcard-channel-client.c
@@ -47,30 +47,6 @@ smartcard_channel_client_release_msg_rcv_buf(RedChannelClient *rcc, uint16_t typ
                                              uint32_t size, uint8_t *msg);
 static void smartcard_channel_client_on_disconnect(RedChannelClient *rcc);
 
-static void smart_card_channel_client_get_property(GObject *object,
-                                                   guint property_id,
-                                                   GValue *value,
-                                                   GParamSpec *pspec)
-{
-    switch (property_id)
-    {
-        default:
-            G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec);
-    }
-}
-
-static void smart_card_channel_client_set_property(GObject *object,
-                                                   guint property_id,
-                                                   const GValue *value,
-                                                   GParamSpec *pspec)
-{
-    switch (property_id)
-    {
-        default:
-            G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec);
-    }
-}
-
 static void smart_card_channel_client_finalize(GObject *object)
 {
     SmartCardChannelClient *self = SMARTCARD_CHANNEL_CLIENT(object);
@@ -90,8 +66,6 @@ static void smart_card_channel_client_class_init(SmartCardChannelClientClass *kl
     client_class->release_recv_buf = smartcard_channel_client_release_msg_rcv_buf;
     client_class->on_disconnect = smartcard_channel_client_on_disconnect;
 
-    object_class->get_property = smart_card_channel_client_get_property;
-    object_class->set_property = smart_card_channel_client_set_property;
     object_class->finalize = smart_card_channel_client_finalize;
 }
 


More information about the Spice-commits mailing list