mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
stage-impl: Move properties from the stage window here
The stage window is an interface, that added properties, that were only then actually managed by MetaStageImpl. Shuffle things slightly, and let the MetaStageImpl object deal with these things itself. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2014>
This commit is contained in:
@ -20,25 +20,6 @@ G_DEFINE_INTERFACE (ClutterStageWindow, clutter_stage_window, G_TYPE_OBJECT);
|
||||
static void
|
||||
clutter_stage_window_default_init (ClutterStageWindowInterface *iface)
|
||||
{
|
||||
GParamSpec *pspec;
|
||||
|
||||
pspec = g_param_spec_object ("backend",
|
||||
"Backend",
|
||||
"Back pointer to the Backend instance",
|
||||
CLUTTER_TYPE_BACKEND,
|
||||
G_PARAM_WRITABLE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
g_object_interface_install_property (iface, pspec);
|
||||
|
||||
pspec = g_param_spec_object ("wrapper",
|
||||
"Wrapper",
|
||||
"Back pointer to the Stage actor",
|
||||
CLUTTER_TYPE_STAGE,
|
||||
G_PARAM_WRITABLE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
g_object_interface_install_property (iface, pspec);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user