diff options
author | Evan Broder <ebroder@mokafive.com> | 2012-02-29 14:02:46 -0800 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2012-10-08 17:05:11 -0400 |
commit | 99cbe762d7a23cd5f4cf44f0b7faf5aacb6a6b6d (patch) | |
tree | a30f38622929cb1ef596fa6dd5eb7a4fb267bd0e | |
parent | 7a2c0195140b1d8bcaacee89e095f19c9e8de7e1 (diff) | |
download | mutter-99cbe762d7a23cd5f4cf44f0b7faf5aacb6a6b6d.tar.gz |
Expose MetaPlugin to introspection
Add a type annotation on the xevent_filter vfunc. This is sufficient
to remove the skip annotation on MetaPlugin and MetaPluginClass
without triggering scan errors.
https://bugzilla.gnome.org/show_bug.cgi?id=671098
-rw-r--r-- | src/meta/meta-plugin.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/meta/meta-plugin.h b/src/meta/meta-plugin.h index 47b8ecb7c..0f49d8c97 100644 --- a/src/meta/meta-plugin.h +++ b/src/meta/meta-plugin.h @@ -39,15 +39,7 @@ #define META_IS_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), META_TYPE_PLUGIN)) #define META_PLUGIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), META_TYPE_PLUGIN, MetaPluginClass)) -/** - * MetaPlugin: (skip) - * - */ typedef struct _MetaPlugin MetaPlugin; -/** - * MetaPluginClass: (skip) - * - */ typedef struct _MetaPluginClass MetaPluginClass; typedef struct _MetaPluginVersion MetaPluginVersion; typedef struct _MetaPluginInfo MetaPluginInfo; @@ -106,6 +98,10 @@ struct _MetaPluginClass /* General XEvent filter. This is fired *before* meta itself handles * an event. Return TRUE to block any further processing. */ + /** + * MetaPluginClass::xevent_filter: + * @event: (type xlib.XEvent): + */ gboolean (*xevent_filter) (MetaPlugin *plugin, XEvent *event); |