summaryrefslogtreecommitdiff
path: root/gcr
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2021-12-10 09:24:40 +0100
committerCorentin Noël <tintou@noel.tf>2022-04-09 00:44:24 +0200
commit4251ad89c972029d8d6c93260abb51f030d20a83 (patch)
tree172be50be514a626db76d763b54347338c6c4c56 /gcr
parentd64103c19d06c455d5e738ac24dfcb54d2101824 (diff)
downloadgcr-4251ad89c972029d8d6c93260abb51f030d20a83.tar.gz
gck-object-cache: Use G_DECLARE_INTERFACE to define the interface
This means that GckObjectCacheIface becomes GckObjectCacheInterface and GCK_OBJECT_CACHE_GET_INTERFACE becomes GCK_OBJECT_CACHE_GET_IFACE. Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
Diffstat (limited to 'gcr')
-rw-r--r--gcr/test-subject-public-key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcr/test-subject-public-key.c b/gcr/test-subject-public-key.c
index a95c38e..1b52dd3 100644
--- a/gcr/test-subject-public-key.c
+++ b/gcr/test-subject-public-key.c
@@ -429,7 +429,7 @@ typedef struct { GckObject parent; GckAttributes *attrs; } MockObject;
typedef struct { GckObjectClass parent; } MockObjectClass;
GType mock_object_get_type (void) G_GNUC_CONST;
-static void mock_object_cache_init (GckObjectCacheIface *iface);
+static void mock_object_cache_init (GckObjectCacheInterface *iface);
G_DEFINE_TYPE_WITH_CODE (MockObject, mock_object, GCK_TYPE_OBJECT,
G_IMPLEMENT_INTERFACE (GCK_TYPE_OBJECT_CACHE, mock_object_cache_init)
);
@@ -495,7 +495,7 @@ mock_object_fill (GckObjectCache *object,
}
static void
-mock_object_cache_init (GckObjectCacheIface *iface)
+mock_object_cache_init (GckObjectCacheInterface *iface)
{
iface->default_types = NULL;
iface->n_default_types = 0;