window-actor: Turn into an abstract class
Now that everything is settled, from the initialization process to the subclasses to moving code to the compositor, MetaWindowActor can be a proper abstract class that cannot be instantiated. Thus, make MetaWindowActor an abstract class. https://gitlab.gnome.org/GNOME/mutter/merge_requests/368
This commit is contained in:
parent
5fbeecaac6
commit
df1384a856
1 changed files with 4 additions and 4 deletions
|
@ -143,10 +143,10 @@ static void cullable_iface_init (MetaCullableInterface *iface);
|
|||
|
||||
static void screen_cast_window_iface_init (MetaScreenCastWindowInterface *iface);
|
||||
|
||||
G_DEFINE_TYPE_WITH_CODE (MetaWindowActor, meta_window_actor, CLUTTER_TYPE_ACTOR,
|
||||
G_ADD_PRIVATE (MetaWindowActor)
|
||||
G_IMPLEMENT_INTERFACE (META_TYPE_CULLABLE, cullable_iface_init)
|
||||
G_IMPLEMENT_INTERFACE (META_TYPE_SCREEN_CAST_WINDOW, screen_cast_window_iface_init));
|
||||
G_DEFINE_ABSTRACT_TYPE_WITH_CODE (MetaWindowActor, meta_window_actor, CLUTTER_TYPE_ACTOR,
|
||||
G_ADD_PRIVATE (MetaWindowActor)
|
||||
G_IMPLEMENT_INTERFACE (META_TYPE_CULLABLE, cullable_iface_init)
|
||||
G_IMPLEMENT_INTERFACE (META_TYPE_SCREEN_CAST_WINDOW, screen_cast_window_iface_init));
|
||||
|
||||
static void
|
||||
meta_window_actor_real_set_surface_actor (MetaWindowActor *actor,
|
||||
|
|
Loading…
Reference in a new issue