mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
backend: Store the type of the StageWindow implementation
We can use it later on to create it and provide a default create_stage() implementation.
This commit is contained in:
parent
04a2b5f42b
commit
6082be409e
@ -53,6 +53,8 @@ struct _ClutterBackendClass
|
|||||||
/*< private >*/
|
/*< private >*/
|
||||||
GObjectClass parent_class;
|
GObjectClass parent_class;
|
||||||
|
|
||||||
|
GType stage_window_type;
|
||||||
|
|
||||||
/* vfuncs */
|
/* vfuncs */
|
||||||
gboolean (* pre_parse) (ClutterBackend *backend,
|
gboolean (* pre_parse) (ClutterBackend *backend,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
@ -512,6 +512,8 @@ clutter_backend_class_init (ClutterBackendClass *klass)
|
|||||||
|
|
||||||
g_type_class_add_private (gobject_class, sizeof (ClutterBackendPrivate));
|
g_type_class_add_private (gobject_class, sizeof (ClutterBackendPrivate));
|
||||||
|
|
||||||
|
klass->stage_window_type = G_TYPE_INVALID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ClutterBackend::resolution-changed:
|
* ClutterBackend::resolution-changed:
|
||||||
* @backend: the #ClutterBackend that emitted the signal
|
* @backend: the #ClutterBackend that emitted the signal
|
||||||
|
Loading…
Reference in New Issue
Block a user