From c8b45689739a6af899f604c76442af55c7fa4f29 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Fri, 18 Aug 2023 15:15:31 +0200 Subject: [PATCH] cogl: Drop no longer used define boxed macro Part-of: --- cogl/cogl/cogl-gtype-private.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/cogl/cogl/cogl-gtype-private.h b/cogl/cogl/cogl-gtype-private.h index 78ae9300b..8d5304c12 100644 --- a/cogl/cogl/cogl-gtype-private.h +++ b/cogl/cogl/cogl-gtype-private.h @@ -59,22 +59,6 @@ struct _CoglGtypeClass /**/ -#define COGL_GTYPE_DEFINE_BOXED(Name,underscore_name,copy_func,free_func) \ -GType \ -cogl_##underscore_name##_get_gtype (void) \ -{ \ - static size_t g_type_id = 0; \ - if (g_once_init_enter (&g_type_id)) \ - { \ - GType type = \ - g_boxed_type_register_static (g_intern_static_string (I_("Cogl" # Name)), \ - (GBoxedCopyFunc)copy_func, \ - (GBoxedFreeFunc)free_func); \ - g_once_init_leave (&g_type_id, type); \ - } \ - return g_type_id; \ -} - #define COGL_GTYPE_IMPLEMENT_INTERFACE(name) { \ const GInterfaceInfo g_implement_interface_info = { \ (GInterfaceInitFunc) _cogl_gtype_dummy_iface_init, NULL, NULL \