aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-07-10 13:27:31 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-08-06 20:06:46 +0200
commita8bc1909e4e2aa369efbccd97737c087927f5b78 (patch)
treeeb0bd5c6e5b6a2f6622bb155465f4b95c0fb5578 /src/mm-plugin.h
parenta31560216672b08f27cb93798478f49e31fb6298 (diff)
plugin: setup a `priv' opaque pointer for the internal data
G_TYPE_INSTANCE_GET_PRIVATE() is really slow, so try to call it as less as possible.
Diffstat (limited to 'src/mm-plugin.h')
-rw-r--r--src/mm-plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mm-plugin.h b/src/mm-plugin.h
index 80ca898e..f7b544df 100644
--- a/src/mm-plugin.h
+++ b/src/mm-plugin.h
@@ -61,11 +61,13 @@ typedef enum {
typedef struct _MMPlugin MMPlugin;
typedef struct _MMPluginClass MMPluginClass;
+typedef struct _MMPluginPrivate MMPluginPrivate;
typedef MMPlugin *(*MMPluginCreateFunc) (void);
struct _MMPlugin {
GObject parent;
+ MMPluginPrivate *priv;
};
struct _MMPluginClass {