[mutter] Expose MetaPlugin to introspection
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] Expose MetaPlugin to introspection
- Date: Mon, 8 Oct 2012 21:05:32 +0000 (UTC)
commit 99cbe762d7a23cd5f4cf44f0b7faf5aacb6a6b6d
Author: Evan Broder <ebroder mokafive com>
Date: Wed Feb 29 14:02:46 2012 -0800
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
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 47b8ecb..0f49d8c 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]