diff options
author | Travis Reitter <travis.reitter@collabora.co.uk> | 2010-06-17 09:21:50 -0700 |
---|---|---|
committer | Travis Reitter <travis.reitter@collabora.co.uk> | 2010-06-17 09:22:00 -0700 |
commit | 0cf82367511127af38046662c66817faf9cfa983 (patch) | |
tree | 42a143905811c992a678991ec1fc4408753c3c16 | |
parent | 01a3e6403ff006160167966c4b10779a8bb2665c (diff) |
Hide TpProxyClassFeatureListFunc from the g-i scanner, since vapigen doesn't know how to handle the result.
-rw-r--r-- | telepathy-glib/proxy.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/telepathy-glib/proxy.h b/telepathy-glib/proxy.h index df93cc5e7..4198fe681 100644 --- a/telepathy-glib/proxy.h +++ b/telepathy-glib/proxy.h @@ -74,8 +74,11 @@ typedef struct _TpProxyClass TpProxyClass; /* defined in proxy-internal.h for now */ typedef struct _TpProxyFeature TpProxyFeature; +/* XXX: hide this from the g-i scanner, since vapigen can't cope */ +#ifndef __GI_SCANNER__ typedef const TpProxyFeature *(*TpProxyClassFeatureListFunc) ( TpProxyClass *cls); +#endif /* __GI_SCANNER__ */ struct _TpProxyClass { /*<public>*/ @@ -86,7 +89,12 @@ struct _TpProxyClass { unsigned int must_have_unique_name:1; guint _reserved_flags:31; +/* XXX: hide this from the g-i scanner, since vapigen can't cope */ +#ifdef __GI_SCANNER__ + GCallback _internal_list_features; +#else TpProxyClassFeatureListFunc list_features; +#endif /* __GI_SCANNER__ */ GCallback _reserved[3]; gpointer priv; }; |