Appease the gods in introspection

Reduce the amount of bogus warnings g-ir-scanner prints out.
This commit is contained in:
Emmanuele Bassi 2011-01-20 16:18:16 +00:00
parent 439553a1b7
commit ca092477c2
23 changed files with 38 additions and 28 deletions

View File

@ -51,8 +51,6 @@
#define CLUTTER_IS_ALIGN_CONSTRAINT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_ALIGN_CONSTRAINT))
#define CLUTTER_ALIGN_CONSTRAINT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_ALIGN_CONSTRAINT, ClutterAlignConstraintClass))
typedef struct _ClutterAlignConstraintClass ClutterAlignConstraintClass;
struct _ClutterAlignConstraint
{
ClutterConstraint parent_instance;

View File

@ -45,7 +45,8 @@ G_BEGIN_DECLS
*
* Since: 1.4
*/
typedef struct _ClutterAlignConstraint ClutterAlignConstraint;
typedef struct _ClutterAlignConstraint ClutterAlignConstraint;
typedef struct _ClutterAlignConstraintClass ClutterAlignConstraintClass;
/**
* ClutterAlignAxis:

View File

@ -31,7 +31,6 @@
G_BEGIN_DECLS
typedef struct _ClutterBackendPrivate ClutterBackendPrivate;
typedef struct _ClutterBackendClass ClutterBackendClass;
struct _ClutterBackend
{

View File

@ -45,7 +45,16 @@ G_BEGIN_DECLS
#define CLUTTER_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_BACKEND, ClutterBackend))
#define CLUTTER_IS_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_BACKEND))
/**
* ClutterBackend:
*
* <structname>ClutterBackend</structname> is an opaque structure whose
* members cannot be directly accessed.
*
* Since: 0.4
*/
typedef struct _ClutterBackend ClutterBackend;
typedef struct _ClutterBackendClass ClutterBackendClass;
GType clutter_backend_get_type (void) G_GNUC_CONST;

View File

@ -97,8 +97,6 @@
#define CLUTTER_IS_BIND_CONSTRAINT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_BIND_CONSTRAINT))
#define CLUTTER_BIND_CONSTRAINT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_BIND_CONSTRAINT, ClutterBindConstraintClass))
typedef struct _ClutterBindConstraintClass ClutterBindConstraintClass;
struct _ClutterBindConstraint
{
ClutterConstraint parent_instance;

View File

@ -45,7 +45,8 @@ G_BEGIN_DECLS
*
* Since: 1.4
*/
typedef struct _ClutterBindConstraint ClutterBindConstraint;
typedef struct _ClutterBindConstraint ClutterBindConstraint;
typedef struct _ClutterBindConstraintClass ClutterBindConstraintClass;
/**
* ClutterBindCoordinate:

View File

@ -116,7 +116,6 @@
CLUTTER_HYPER_MASK | \
CLUTTER_META_MASK) | CLUTTER_RELEASE_MASK)
typedef struct _ClutterBindingPoolClass ClutterBindingPoolClass;
typedef struct _ClutterBindingEntry ClutterBindingEntry;
static GSList *clutter_binding_pools = NULL;

View File

@ -46,6 +46,7 @@ G_BEGIN_DECLS
* Since: 1.0
*/
typedef struct _ClutterBindingPool ClutterBindingPool;
typedef struct _ClutterBindingPoolClass ClutterBindingPoolClass;
/**
* ClutterBindingActionFunc:

View File

@ -51,8 +51,6 @@
#define BLUR_PADDING 2
typedef struct _ClutterBlurEffectClass ClutterBlurEffectClass;
/* FIXME - lame shader; we should really have a decoupled
* horizontal/vertical two pass shader for the gaussian blur
*/

View File

@ -46,6 +46,7 @@ G_BEGIN_DECLS
* Since: 1.4
*/
typedef struct _ClutterBlurEffect ClutterBlurEffect;
typedef struct _ClutterBlurEffectClass ClutterBlurEffectClass;
GType clutter_blur_effect_get_type (void) G_GNUC_CONST;

View File

@ -50,8 +50,6 @@
#include "clutter-offscreen-effect.h"
#include "clutter-private.h"
typedef struct _ClutterColorizeEffectClass ClutterColorizeEffectClass;
struct _ClutterColorizeEffect
{
ClutterOffscreenEffect parent_instance;

View File

@ -46,7 +46,8 @@ G_BEGIN_DECLS
*
* SinceL 1.4
*/
typedef struct _ClutterColorizeEffect ClutterColorizeEffect;
typedef struct _ClutterColorizeEffect ClutterColorizeEffect;
typedef struct _ClutterColorizeEffectClass ClutterColorizeEffectClass;
GType clutter_colorize_effect_get_type (void) G_GNUC_CONST;

View File

@ -54,8 +54,6 @@
#include "clutter-offscreen-effect.h"
#include "clutter-private.h"
typedef struct _ClutterDesaturateEffectClass ClutterDesaturateEffectClass;
struct _ClutterDesaturateEffect
{
ClutterOffscreenEffect parent_instance;

View File

@ -46,6 +46,7 @@ G_BEGIN_DECLS
* Since: 1.4
*/
typedef struct _ClutterDesaturateEffect ClutterDesaturateEffect;
typedef struct _ClutterDesaturateEffectClass ClutterDesaturateEffectClass;
GType clutter_desaturate_effect_get_type (void) G_GNUC_CONST;

View File

@ -50,8 +50,6 @@
#define CLUTTER_IS_PAGE_TURN_EFFECT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CLUTTER_TYPE_PAGE_TURN_EFFECT))
#define CLUTTER_PAGE_TURN_EFFECT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CLUTTER_TYPE_PAGE_TURN_EFFECT, ClutterPageTurnEffectClass))
typedef struct _ClutterPageTurnEffectClass ClutterPageTurnEffectClass;
struct _ClutterPageTurnEffect
{
ClutterDeformEffect parent_instance;

View File

@ -49,6 +49,7 @@ G_BEGIN_DECLS
* Since: 1.4
*/
typedef struct _ClutterPageTurnEffect ClutterPageTurnEffect;
typedef struct _ClutterPageTurnEffectClass ClutterPageTurnEffectClass;
GType clutter_page_turn_effect_get_type (void) G_GNUC_CONST;

View File

@ -50,8 +50,6 @@
#define CLUTTER_IS_PATH_CONSTRAINT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_PATH_CONSTRAINT))
#define CLUTTER_PATH_CONSTRAINT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_PATH_CONSTRAINT, ClutterPathConstraintClass))
typedef struct _ClutterPathConstraintClass ClutterPathConstraintClass;
struct _ClutterPathConstraint
{
ClutterConstraint parent_instance;

View File

@ -46,7 +46,8 @@ G_BEGIN_DECLS
*
* Since: 1.6
*/
typedef struct _ClutterPathConstraint ClutterPathConstraint;
typedef struct _ClutterPathConstraint ClutterPathConstraint;
typedef struct _ClutterPathConstraintClass ClutterPathConstraintClass;
GType clutter_path_constraint_get_type (void) G_GNUC_CONST;

View File

@ -32,8 +32,6 @@
#define CLUTTER_IS_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_SETTINGS))
#define CLUTTER_SETTINGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_SETTINGS, ClutterSettingsClass))
typedef struct _ClutterSettingsClass ClutterSettingsClass;
/**
* ClutterSettings:
*

View File

@ -14,6 +14,7 @@ G_BEGIN_DECLS
#define CLUTTER_IS_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_SETTINGS))
typedef struct _ClutterSettings ClutterSettings;
typedef struct _ClutterSettingsClass ClutterSettingsClass;
GType clutter_settings_get_type (void) G_GNUC_CONST;

View File

@ -53,8 +53,6 @@
#define CLUTTER_IS_SNAP_CONSTRAINT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_SNAP_CONSTRAINT))
#define CLUTTER_SNAP_CONSTRAINT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_SNAP_CONSTRAINT, ClutterSnapConstraintClass))
typedef struct _ClutterSnapConstraintClass ClutterSnapConstraintClass;
struct _ClutterSnapConstraint
{
ClutterConstraint parent_instance;

View File

@ -45,7 +45,8 @@ G_BEGIN_DECLS
*
* Since: 1.6
*/
typedef struct _ClutterSnapConstraint ClutterSnapConstraint;
typedef struct _ClutterSnapConstraint ClutterSnapConstraint;
typedef struct _ClutterSnapConstraintClass ClutterSnapConstraintClass;
/**
* ClutterSnapEdge:

View File

@ -893,6 +893,7 @@ clutter_behaviour_ellipse_get_type
<SECTION>
<FILE>clutter-backend</FILE>
<TITLE>ClutterBackend</TITLE>
ClutterBackend
clutter_get_default_backend
clutter_backend_set_resolution
clutter_backend_get_resolution
@ -912,9 +913,7 @@ CLUTTER_IS_BACKEND_CLASS
CLUTTER_BACKEND_GET_CLASS
CLUTTER_TYPE_BACKEND
<SUBSECTION Private>
ClutterBackend
ClutterBackendClass
ClutterBackendPrivate
clutter_backend_get_type
</SECTION>
@ -1843,6 +1842,7 @@ CLUTTER_IS_BINDING_POOL
CLUTTER_TYPE_BINDING_POOL
<SUBSECTION Private>
ClutterBindingPoolClass
clutter_binding_pool_get_type
</SECTION>
@ -2320,11 +2320,12 @@ clutter_bind_constraint_set_coordinate
clutter_bind_constraint_get_coordinate
clutter_bind_constraint_set_offset
clutter_bind_constraint_get_offset
<SUBSECTION Standard>
CLUTTER_TYPE_BIND_CONSTRAINT
CLUTTER_BIND_CONSTRAINT
CLUTTER_IS_BIND_CONSTRAINT
<SUBSECTION Private>
ClutterBindConstraintClass
clutter_bind_constraint_get_type
</SECTION>
@ -2345,6 +2346,9 @@ clutter_align_constraint_get_factor
CLUTTER_TYPE_ALIGN_CONSTRAINT
CLUTTER_ALIGN_CONSTRAINT
CLUTTER_IS_ALIGN_CONSTRAINT
<SUBSECTION Private>
ClutterAlignConstraintClass
clutter_align_constraint_get_type
</SECTION>
@ -2490,6 +2494,7 @@ CLUTTER_TYPE_BLUR_EFFECT
CLUTTER_BLUR_EFFECT
CLUTTER_IS_BLUR_EFFECT
<SUBSECTION Private>
ClutterBlurEffectClass
clutter_blur_effect_get_type
</SECTION>
@ -2505,6 +2510,7 @@ CLUTTER_TYPE_COLORIZE_EFFECT
CLUTTER_COLORIZE_EFFECT
CLUTTER_IS_COLORIZE_EFFECT
<SUBSECTION Private>
ClutterColorizeEffectClass
clutter_colorize_effect_get_type
</SECTION>
@ -2520,6 +2526,7 @@ CLUTTER_TYPE_DESATURATE_EFFECT
CLUTTER_DESATURATE_EFFECT
CLUTTER_IS_DESATURATE_EFFECT
<SUBSECTION Private>
ClutterDesaturateEffectClass
clutter_desaturate_effect_get_type
</SECTION>
@ -2560,6 +2567,7 @@ CLUTTER_TYPE_PAGE_TURN_EFFECT
CLUTTER_PAGE_TURN_EFFECT
CLUTTER_IS_PAGE_TURN_EFFECT
<SUBSECTION Private>
ClutterPageTurnEffectClass
clutter_page_turn_effect_get_type
</SECTION>
@ -2572,6 +2580,7 @@ CLUTTER_TYPE_SETTINGS
CLUTTER_SETTINGS
CLUTTER_IS_SETTINGS
<SUBSECTION Private>
ClutterSettingsClass
clutter_settings_get_type
</SECTION>
@ -2588,6 +2597,7 @@ CLUTTER_PATH_CONSTRAINT
CLUTTER_IS_PATH_CONSTRAINT
CLUTTER_TYPE_PATH_CONSTRAINT
<SUBSECTION Private>
ClutterPathConstraintClass
clutter_path_constraint_get_type
</SECTION>
@ -2607,5 +2617,6 @@ CLUTTER_SNAP_CONSTRAINT
CLUTTER_IS_SNAP_CONSTRAINT
CLUTTER_TYPE_SNAP_CONSTRAINT
<SUBSECTION Private>
ClutterSnapConstraintClass
clutter_snap_constraint_get_type
</SECTION>