From 23f5773903d64a554d977ae7d0ebbaca73528f1f Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 30 Nov 2011 20:53:20 -0600 Subject: Coding style and whitespace cleanup. --- modules/plugin-mono/e-plugin-mono.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'modules/plugin-mono/e-plugin-mono.c') diff --git a/modules/plugin-mono/e-plugin-mono.c b/modules/plugin-mono/e-plugin-mono.c index 1c4113504d..2179e95195 100644 --- a/modules/plugin-mono/e-plugin-mono.c +++ b/modules/plugin-mono/e-plugin-mono.c @@ -38,6 +38,10 @@ #include #include +#define E_PLUGIN_MONO_GET_PRIVATE(obj) \ + (G_TYPE_INSTANCE_GET_PRIVATE \ + ((obj), E_TYPE_PLUGIN_MONO, EPluginMonoPrivate)) + struct _EPluginMonoPrivate { MonoAssembly *assembly; MonoClass *class; @@ -239,8 +243,7 @@ plugin_mono_init (EPluginMono *plugin_mono) (GDestroyNotify) g_free, (GDestroyNotify) NULL); - plugin_mono->priv = G_TYPE_INSTANCE_GET_PRIVATE ( - plugin_mono, E_TYPE_PLUGIN_MONO, EPluginMonoPrivate); + plugin_mono->priv = E_PLUGIN_MONO_GET_PRIVATE (plugin_mono); plugin_mono->priv->methods = methods; } -- cgit