2007-07-24 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/glx/clutter-backend-glx.c: Destroy the stage, don't
	just unref it.
This commit is contained in:
Emmanuele Bassi 2007-07-24 18:59:25 +00:00
parent 9c699c8546
commit 107f6112cd
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-07-24 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/glx/clutter-backend-glx.c: Destroy the stage, don't
just unref it.
2007-07-24 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-main.c: Add debug markers.

View File

@ -270,7 +270,7 @@ clutter_backend_glx_init_events (ClutterBackend *backend)
_clutter_backend_glx_events_init (backend);
}
static ClutterActor*
static ClutterActor *
clutter_backend_glx_get_stage (ClutterBackend *backend)
{
ClutterBackendGLX *backend_glx = CLUTTER_BACKEND_GLX (backend);
@ -336,7 +336,7 @@ clutter_backend_glx_dispose (GObject *gobject)
{
CLUTTER_NOTE (BACKEND, "Disposing the main stage");
g_object_unref (backend_glx->stage);
clutter_actor_destroy (backend_glx->stage);
backend_glx->stage = NULL;
}