[gcr/wip/gcr4] ui: Remove deprecated symbols



commit 1ea45a8acc35367ab1dbea9ec38aed6c1813ce42
Author: Corentin Noël <corentin noel collabora com>
Date:   Mon Oct 4 20:41:00 2021 +0200

    ui: Remove deprecated symbols
    
    Remove deprecated functions.

 ui/gcr-certificate-renderer.c | 34 ----------------------------------
 ui/gcr-renderer.c             | 16 ----------------
 2 files changed, 50 deletions(-)
---
diff --git a/ui/gcr-certificate-renderer.c b/ui/gcr-certificate-renderer.c
index 513cf01..31bde43 100644
--- a/ui/gcr-certificate-renderer.c
+++ b/ui/gcr-certificate-renderer.c
@@ -744,40 +744,6 @@ gcr_certificate_renderer_set_certificate (GcrCertificateRenderer *self, GcrCerti
        g_object_notify (G_OBJECT (self), "certificate");
 }
 
-/**
- * gcr_certificate_renderer_get_attributes:
- * @self: The renderer
- *
- * Get the PKCS\#11 attributes, if any, set for this renderer to display.
- *
- * Returns: (nullable) (transfer none): the attributes, owned by the renderer
- *
- * Deprecated: 3.6: Use gcr_renderer_get_attributes() instead
- */
-GckAttributes *
-gcr_certificate_renderer_get_attributes (GcrCertificateRenderer *self)
-{
-       g_return_val_if_fail (GCR_IS_CERTIFICATE_RENDERER (self), NULL);
-       return gcr_renderer_get_attributes (GCR_RENDERER (self));
-}
-
-/**
- * gcr_certificate_renderer_set_attributes:
- * @self: The renderer
- * @attrs: (nullable): attributes to set
- *
- * Set the PKCS\#11 attributes for this renderer to display. One of the attributes
- * should be a CKA_VALUE type attribute containing a DER encoded certificate.
- *
- * Deprecated: 3.6: Use gcr_renderer_set_attributes() instead
- */
-void
-gcr_certificate_renderer_set_attributes (GcrCertificateRenderer *self, GckAttributes *attrs)
-{
-       g_return_if_fail (GCR_IS_CERTIFICATE_RENDERER (self));
-       gcr_renderer_set_attributes (GCR_RENDERER (self), attrs);
-}
-
 typedef struct {
        GcrRenderer *renderer;
        GcrDisplayView *view;
diff --git a/ui/gcr-renderer.c b/ui/gcr-renderer.c
index 4f76793..0fa92de 100644
--- a/ui/gcr-renderer.c
+++ b/ui/gcr-renderer.c
@@ -138,22 +138,6 @@ gcr_renderer_render_view (GcrRenderer *self, GcrViewer *viewer)
        GCR_RENDERER_GET_INTERFACE (self)->render_view (self, viewer);
 }
 
-/**
- * gcr_renderer_render:
- * @self: the renderer
- * @viewer: the viewer to render to
- *
- * Render a renderer to the viewer.
- *
- * Deprecated: 3.2: Use gcr_renderer_render_view() instead
- */
-void
-gcr_renderer_render (GcrRenderer *self,
-                     GcrViewer *viewer)
-{
-       gcr_renderer_render_view (self, viewer);
-}
-
 /**
  * gcr_renderer_popuplate_popup:
  * @self: The renderer


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]