background-group: Subclass ClutterActor, not ClutterGroup

We use the new Clutter Actor API in the shell, so we really
shouldn't be using ClutterGroup.

https://bugzilla.gnome.org/show_bug.cgi?id=695881
This commit is contained in:
Jasper St. Pierre 2013-03-14 17:20:54 -04:00
parent 1f905bd0e2
commit 0bb8d29be4
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
#include "meta-background-actor-private.h" #include "meta-background-actor-private.h"
#include "meta-background-group-private.h" #include "meta-background-group-private.h"
G_DEFINE_TYPE (MetaBackgroundGroup, meta_background_group, CLUTTER_TYPE_GROUP); G_DEFINE_TYPE (MetaBackgroundGroup, meta_background_group, CLUTTER_TYPE_ACTOR);
struct _MetaBackgroundGroupPrivate struct _MetaBackgroundGroupPrivate
{ {

View File

@ -8,7 +8,7 @@
/** /**
* MetaBackgroundGroup: * MetaBackgroundGroup:
* *
* This class is a subclass of ClutterGroup with special handling for * This class is a subclass of ClutterActor with special handling for
* MetaBackgroundActor when painting the group. It makes sure to only * MetaBackgroundActor when painting the group. It makes sure to only
* draw the parts of the backgrounds not occluded by opaque windows. * draw the parts of the backgrounds not occluded by opaque windows.
* *
@ -29,12 +29,12 @@ typedef struct _MetaBackgroundGroupPrivate MetaBackgroundGroupPrivate;
struct _MetaBackgroundGroupClass struct _MetaBackgroundGroupClass
{ {
ClutterGroupClass parent_class; ClutterActorClass parent_class;
}; };
struct _MetaBackgroundGroup struct _MetaBackgroundGroup
{ {
ClutterGroup parent; ClutterActor parent;
MetaBackgroundGroupPrivate *priv; MetaBackgroundGroupPrivate *priv;
}; };