diff --git a/ChangeLog b/ChangeLog index 0e054fe46..1349cc356 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-07-24 Emmanuele Bassi + + * clutter/glx/clutter-backend-glx.c: Destroy the stage, don't + just unref it. + 2007-07-24 Emmanuele Bassi * clutter/clutter-main.c: Add debug markers. diff --git a/clutter/glx/clutter-backend-glx.c b/clutter/glx/clutter-backend-glx.c index c57aa5e5a..3098678da 100644 --- a/clutter/glx/clutter-backend-glx.c +++ b/clutter/glx/clutter-backend-glx.c @@ -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; }