2007-07-22 Emmanuele Bassi <ebassi@openedhand.com>
Two small fixes for correctly debugging the deinitialisation phase of the backend: * clutter/glx/clutter-backend-glx.c: Remove the event source after we unref the main stage. * clutter/glx/clutter-stage-glx.c: Add a mark at the end of the unrealize call (the perl bindings seem to crash before we reach this point).
This commit is contained in:
parent
049f2feedc
commit
3648488017
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
||||
2007-07-22 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
Two small fixes for correctly debugging the deinitialisation
|
||||
phase of the backend:
|
||||
|
||||
* clutter/glx/clutter-backend-glx.c: Remove the event source
|
||||
after we unref the main stage.
|
||||
|
||||
* clutter/glx/clutter-stage-glx.c: Add a mark at the end of the
|
||||
unrealize call (the perl bindings seem to crash before we reach
|
||||
this point).
|
||||
|
||||
2007-07-22 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/clutter-behaviour-ellipse.c: Remove pointer indirections;
|
||||
|
@ -332,13 +332,16 @@ clutter_backend_glx_dispose (GObject *gobject)
|
||||
{
|
||||
ClutterBackendGLX *backend_glx = CLUTTER_BACKEND_GLX (gobject);
|
||||
|
||||
_clutter_backend_glx_events_uninit (CLUTTER_BACKEND(backend_glx));
|
||||
|
||||
if (backend_glx->stage)
|
||||
{
|
||||
CLUTTER_NOTE (BACKEND, "Disposing the main stage");
|
||||
|
||||
g_object_unref (backend_glx->stage);
|
||||
backend_glx->stage = NULL;
|
||||
}
|
||||
|
||||
CLUTTER_NOTE (BACKEND, "Removing the event source");
|
||||
_clutter_backend_glx_events_uninit (CLUTTER_BACKEND (backend_glx));
|
||||
|
||||
G_OBJECT_CLASS (clutter_backend_glx_parent_class)->dispose (gobject);
|
||||
}
|
||||
|
@ -119,9 +119,11 @@ clutter_stage_glx_unrealize (ClutterActor *actor)
|
||||
stage_glx->gl_context = None;
|
||||
}
|
||||
|
||||
|
||||
XSync (stage_glx->xdpy, False);
|
||||
|
||||
clutter_glx_untrap_x_errors ();
|
||||
|
||||
CLUTTER_MARK ();
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user