mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +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 "meta/meta-background-group.h"
|
||||
|
||||
struct _MetaBackgroundGroup
|
||||
{
|
||||
ClutterActor parent;
|
||||
};
|
||||
|
||||
static void cullable_iface_init (MetaCullableInterface *iface);
|
||||
|
||||
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 ())
|
||||
|
||||
META_EXPORT
|
||||
G_DECLARE_FINAL_TYPE (MetaBackgroundGroup,
|
||||
meta_background_group,
|
||||
META, BACKGROUND_GROUP,
|
||||
ClutterActor)
|
||||
G_DECLARE_DERIVABLE_TYPE (MetaBackgroundGroup,
|
||||
meta_background_group,
|
||||
META, BACKGROUND_GROUP,
|
||||
ClutterActor)
|
||||
|
||||
struct _MetaBackgroundGroupClass
|
||||
{
|
||||
ClutterActorClass parent_class;
|
||||
};
|
||||
|
||||
META_EXPORT
|
||||
ClutterActor *meta_background_group_new (void);
|
||||
|
Loading…
Reference in New Issue
Block a user