mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/eglnative/clutter-backend-egl.c: (clutter_backend_egl_create_stage): Fix checks using a non assigned member of the ClutterBackendEGL structure.
This commit is contained in:
parent
6ac86b939b
commit
b09e6ce55b
@ -1,3 +1,9 @@
|
|||||||
|
2008-04-24 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
|
* clutter/eglnative/clutter-backend-egl.c:
|
||||||
|
(clutter_backend_egl_create_stage): Fix checks using a
|
||||||
|
non assigned member of the ClutterBackendEGL structure.
|
||||||
|
|
||||||
2008-04-23 Emmanuele Bassi <ebassi@openedhand.com>
|
2008-04-23 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
* clutter/eglnative/clutter-backend-egl.[ch]:
|
* clutter/eglnative/clutter-backend-egl.[ch]:
|
||||||
|
@ -131,7 +131,6 @@ clutter_backend_egl_create_stage (ClutterBackend *backend,
|
|||||||
stage = g_object_new (CLUTTER_TYPE_STAGE_EGL, NULL);
|
stage = g_object_new (CLUTTER_TYPE_STAGE_EGL, NULL);
|
||||||
|
|
||||||
stage_egl = CLUTTER_STAGE_EGL (stage);
|
stage_egl = CLUTTER_STAGE_EGL (stage);
|
||||||
stage_egl->edpy = backend_egl->edpy
|
|
||||||
stage_egl->backend = backend_egl;
|
stage_egl->backend = backend_egl;
|
||||||
stage_egl->wrapper = wrapper;
|
stage_egl->wrapper = wrapper;
|
||||||
|
|
||||||
@ -139,9 +138,9 @@ clutter_backend_egl_create_stage (ClutterBackend *backend,
|
|||||||
|
|
||||||
g_object_set_data (G_OBJECT (stage), "clutter-backend", backend);
|
g_object_set_data (G_OBJECT (stage), "clutter-backend", backend);
|
||||||
|
|
||||||
clutter_actor_realize (backend_egl->stage);
|
clutter_actor_realize (stage);
|
||||||
|
|
||||||
if (!CLUTTER_ACTOR_IS_REALIZED (backend_egl->stage))
|
if (!CLUTTER_ACTOR_IS_REALIZED (stage))
|
||||||
{
|
{
|
||||||
g_set_error (error, CLUTTER_INIT_ERROR,
|
g_set_error (error, CLUTTER_INIT_ERROR,
|
||||||
CLUTTER_INIT_ERROR_INTERNAL,
|
CLUTTER_INIT_ERROR_INTERNAL,
|
||||||
|
Loading…
Reference in New Issue
Block a user