[clutter] backend: Store the type of the StageWindow implementation
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] backend: Store the type of the StageWindow implementation
- Date: Thu, 10 Nov 2011 15:06:02 +0000 (UTC)
commit 6082be409ee3f64770170e73323a2df5b50084c2
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Fri Nov 4 18:26:33 2011 +0000
backend: Store the type of the StageWindow implementation
We can use it later on to create it and provide a default create_stage()
implementation.
clutter/clutter-backend-private.h | 2 ++
clutter/clutter-backend.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/clutter/clutter-backend-private.h b/clutter/clutter-backend-private.h
index 495aec3..c9ba24a 100644
--- a/clutter/clutter-backend-private.h
+++ b/clutter/clutter-backend-private.h
@@ -53,6 +53,8 @@ struct _ClutterBackendClass
/*< private >*/
GObjectClass parent_class;
+ GType stage_window_type;
+
/* vfuncs */
gboolean (* pre_parse) (ClutterBackend *backend,
GError **error);
diff --git a/clutter/clutter-backend.c b/clutter/clutter-backend.c
index de7ece3..9cabfad 100644
--- a/clutter/clutter-backend.c
+++ b/clutter/clutter-backend.c
@@ -512,6 +512,8 @@ clutter_backend_class_init (ClutterBackendClass *klass)
g_type_class_add_private (gobject_class, sizeof (ClutterBackendPrivate));
+ klass->stage_window_type = G_TYPE_INVALID;
+
/**
* ClutterBackend::resolution-changed:
* @backend: the #ClutterBackend that emitted the signal
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]