mirror of
https://github.com/brl/mutter.git
synced 2024-12-04 05:40:41 -05:00
2f4a68c8c3
The order and way include macros were structured was chaotic, with no real common thread between files. Try to tidy up the mess with some common scheme, to make things look less messy.
38 lines
1.4 KiB
C
38 lines
1.4 KiB
C
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
|
|
#ifndef META_BACKGROUND_GROUP_H
|
|
#define META_BACKGROUND_GROUP_H
|
|
|
|
#include "clutter/clutter.h"
|
|
|
|
#define META_TYPE_BACKGROUND_GROUP (meta_background_group_get_type ())
|
|
#define META_BACKGROUND_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), META_TYPE_BACKGROUND_GROUP, MetaBackgroundGroup))
|
|
#define META_BACKGROUND_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), META_TYPE_BACKGROUND_GROUP, MetaBackgroundGroupClass))
|
|
#define META_IS_BACKGROUND_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), META_TYPE_BACKGROUND_GROUP))
|
|
#define META_IS_BACKGROUND_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), META_TYPE_BACKGROUND_GROUP))
|
|
#define META_BACKGROUND_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), META_TYPE_BACKGROUND_GROUP, MetaBackgroundGroupClass))
|
|
|
|
typedef struct _MetaBackgroundGroup MetaBackgroundGroup;
|
|
typedef struct _MetaBackgroundGroupClass MetaBackgroundGroupClass;
|
|
typedef struct _MetaBackgroundGroupPrivate MetaBackgroundGroupPrivate;
|
|
|
|
struct _MetaBackgroundGroupClass
|
|
{
|
|
/*< private >*/
|
|
ClutterActorClass parent_class;
|
|
};
|
|
|
|
struct _MetaBackgroundGroup
|
|
{
|
|
/*< private >*/
|
|
ClutterActor parent;
|
|
|
|
MetaBackgroundGroupPrivate *priv;
|
|
};
|
|
|
|
GType meta_background_group_get_type (void);
|
|
|
|
ClutterActor *meta_background_group_new (void);
|
|
|
|
#endif /* META_BACKGROUND_GROUP_H */
|