summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-02-21 09:49:14 +0100
committerBastien Nocera <hadess@hadess.net>2022-02-21 11:20:21 +0100
commite20e6775808008af08aa09cbc543bb03f50c2882 (patch)
tree85d1e1a26423ef03fa7ea18df314d6903294219b /src
parent37ea3e79737d7fcaaab448b6c16aa5c921302431 (diff)
downloadtotem-e20e6775808008af08aa09cbc543bb03f50c2882.tar.gz
plugins: Don't use intermediate private struct
Diffstat (limited to 'src')
-rw-r--r--src/plugins/totem-plugin.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/totem-plugin.h b/src/plugins/totem-plugin.h
index a5d331dd2..a2fc2230d 100644
--- a/src/plugins/totem-plugin.h
+++ b/src/plugins/totem-plugin.h
@@ -52,10 +52,6 @@ G_BEGIN_DECLS
typedef struct { \
PeasExtensionBaseClass parent_class; \
} TypeName##Class; \
- typedef struct { \
- PeasExtensionBase parent; \
- TypeName##Private *priv; \
- } TypeName; \
GType type_name##_get_type (void) G_GNUC_CONST; \
static void impl_activate (PeasActivatable *plugin); \
static void impl_deactivate (PeasActivatable *plugin); \
@@ -69,7 +65,6 @@ G_BEGIN_DECLS
type_name, \
PEAS_TYPE_EXTENSION_BASE, \
0, \
- G_ADD_PRIVATE_DYNAMIC(TypeName) \
G_IMPLEMENT_INTERFACE_DYNAMIC (PEAS_TYPE_ACTIVATABLE, \
peas_activatable_iface_init) \
TYPE_CODE) \
@@ -128,7 +123,6 @@ G_BEGIN_DECLS
static void \
type_name##_init (TypeName *plugin) \
{ \
- plugin->priv = type_name##_get_instance_private (plugin); \
} \
G_MODULE_EXPORT void \
peas_register_types (PeasObjectModule *module) \