mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 21:54:10 +00:00
meta: Make MetaBackgroundGroup derivable
https://gitlab.gnome.org/GNOME/mutter/merge_requests/640
This commit is contained in:
parent
68f18f1fe9
commit
bd7704f9e1
@ -19,11 +19,6 @@
|
|||||||
#include "compositor/meta-cullable.h"
|
#include "compositor/meta-cullable.h"
|
||||||
#include "meta/meta-background-group.h"
|
#include "meta/meta-background-group.h"
|
||||||
|
|
||||||
struct _MetaBackgroundGroup
|
|
||||||
{
|
|
||||||
ClutterActor parent;
|
|
||||||
};
|
|
||||||
|
|
||||||
static void cullable_iface_init (MetaCullableInterface *iface);
|
static void cullable_iface_init (MetaCullableInterface *iface);
|
||||||
|
|
||||||
G_DEFINE_TYPE_WITH_CODE (MetaBackgroundGroup, meta_background_group, CLUTTER_TYPE_ACTOR,
|
G_DEFINE_TYPE_WITH_CODE (MetaBackgroundGroup, meta_background_group, CLUTTER_TYPE_ACTOR,
|
||||||
|
@ -10,10 +10,15 @@
|
|||||||
#define META_TYPE_BACKGROUND_GROUP (meta_background_group_get_type ())
|
#define META_TYPE_BACKGROUND_GROUP (meta_background_group_get_type ())
|
||||||
|
|
||||||
META_EXPORT
|
META_EXPORT
|
||||||
G_DECLARE_FINAL_TYPE (MetaBackgroundGroup,
|
G_DECLARE_DERIVABLE_TYPE (MetaBackgroundGroup,
|
||||||
meta_background_group,
|
meta_background_group,
|
||||||
META, BACKGROUND_GROUP,
|
META, BACKGROUND_GROUP,
|
||||||
ClutterActor)
|
ClutterActor)
|
||||||
|
|
||||||
|
struct _MetaBackgroundGroupClass
|
||||||
|
{
|
||||||
|
ClutterActorClass parent_class;
|
||||||
|
};
|
||||||
|
|
||||||
META_EXPORT
|
META_EXPORT
|
||||||
ClutterActor *meta_background_group_new (void);
|
ClutterActor *meta_background_group_new (void);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user