mutter/tests/interactive
Emmanuele Bassi 03358aca6c test-actors: Clear the state on destroy
The venerable test-actors used the default stage, which meant that
closing the window just stopped the main loop but left the scene intact.
This does not happen with a normal stage created through
clutter_stage_new().

The change happened in 6ed6b2a54b, in an
unhelpfully named commit that was just supposed to switch to static
colors. My bad.

Anyway, the change led to some assertion failures when closing the stage
in the middle of an animation.

The correct thing to do when using an actor from another object (a
Timeline ::new-frame callback in this case) without owning the instance
is to connect to the ::destroy signal and clean up the pointer to avoid
calling an invalid actor.
2011-02-09 13:36:54 +00:00
..
Makefile.am interactive: Remove test-bind 2010-12-20 12:41:07 +00:00
test-actor-clone.c Deprecate ClutterBehaviour and sub-classes 2010-11-18 15:21:16 +00:00
test-actors.c test-actors: Clear the state on destroy 2011-02-09 13:36:54 +00:00
test-animation.c Use ClickAction in test-animation 2010-05-26 14:18:19 +01:00
test-animator.c osx: Implemented hide cursor backend implementation 2010-08-04 15:13:11 +01:00
test-behave.c timeline: Rename the reverse property to auto-reverse 2010-12-17 12:07:52 +00:00
test-bin-layout.c bin-layout: Add a text to the test 2010-08-05 17:22:50 +01:00
test-binding-pool.c Move tests to static colors where possible 2010-11-11 13:14:39 +00:00
test-box-layout.c Move tests to static colors where possible 2010-11-11 13:14:39 +00:00
test-cairo-flowers.c cairo-texture: Allow overriding the surface creation 2010-10-18 11:26:45 +01:00
test-clip.c test-clip: Replace the ellipse with a rotated rectangle 2011-01-24 17:40:07 +00:00
test-cogl-multitexture.c test-cogl-multitexture: use several materials with texture matrices 2010-01-26 16:59:50 +00:00
test-cogl-offscreen.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-cogl-point-sprites.c test: fixed uninitialized variable in test-cogl-point-sprites 2010-08-04 15:13:11 +01:00
test-cogl-primitives.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-cogl-shader-arbfp.c tests: test-cogl-shader-arbfp wasn't compiling shader 2010-11-10 14:19:34 +00:00
test-cogl-shader-glsl.c test-cogl-shader-glsl: Disable the atlas for the hand texture 2011-01-13 11:50:09 +00:00
test-cogl-tex-convert.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-cogl-tex-foreign.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-cogl-tex-getset.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-cogl-tex-polygon.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-cogl-tex-tile.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-cogl-vertex-buffer.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-constraints.c bind-constraint: Add BIND_POSITION and BIND_SIZE 2011-01-25 11:14:37 +00:00
test-depth.c Deprecate ClutterBehaviour and sub-classes 2010-11-18 15:21:16 +00:00
test-devices.c test-devices: Actually print the axis data 2011-01-21 15:27:56 +00:00
test-drag.c Move tests to static colors where possible 2010-11-11 13:14:39 +00:00
test-easing.c test-easing: Do not reconnect signals multiple times 2010-01-22 21:44:28 +00:00
test-events.c evdev: Add mouse support 2010-11-30 14:40:38 +00:00
test-fbo.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-flow-layout.c bind-constraint: Add BIND_POSITION and BIND_SIZE 2011-01-25 11:14:37 +00:00
test-fullscreen.c [stage] Rename fullscreen methods 2009-06-09 14:07:35 +01:00
test-grab.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-layout.c timeline: Rename the reverse property to auto-reverse 2010-12-17 12:07:52 +00:00
test-main.c * tests/interactive/test-main.c (main): Allow more than two 2008-11-10 16:30:42 +00:00
test-model.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-multistage.c Deprecate ClutterBehaviour and sub-classes 2010-11-18 15:21:16 +00:00
test-paint-wrapper.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-path-constraint.c path-constraint: Add a ::node-reached signal 2010-11-07 21:35:40 +00:00
test-pixmap.c test-pixmap: Remove the GLX code 2011-01-20 12:59:56 +00:00
test-scale.c Deprecate ClutterBehaviour and sub-classes 2010-11-18 15:21:16 +00:00
test-script.c Deprecate ClutterBehaviour and sub-classes 2010-11-18 15:21:16 +00:00
test-scrolling.c drag-action: Remove the press event button 2010-06-12 17:45:54 +01:00
test-shader-effects.c interactive: Rename test-rotate 2010-12-16 15:35:38 +00:00
test-shader.c test-shader: Fix the edge-detect shader 2011-01-11 14:21:21 +00:00
test-snap-constraint.c Add SnapConstraint 2010-11-15 16:00:49 +00:00
test-stage-read-pixels.c Remove Units from the public API 2009-05-06 16:44:47 +01:00
test-stage-sizing.c Move tests to static colors where possible 2010-11-11 13:14:39 +00:00
test-state-animator.c state: add clutter_state_set_state and clutter_state_warp_to_state 2010-07-07 18:17:09 +01:00
test-state.c state: add clutter_state_set_state and clutter_state_warp_to_state 2010-07-07 18:17:09 +01:00
test-table-layout.c table-layout: Invert row/column in arguments 2010-09-23 15:17:58 +01:00
test-text-field.c test-text-field: Grab key focus on the first entry 2010-12-30 12:49:41 +00:00
test-text.c Remove obsolete code from test-text 2010-01-11 17:10:00 +00:00
test-texture-async.c Deprecate ClutterBehaviour and sub-classes 2010-11-18 15:21:16 +00:00
test-texture-material.c texture: Use a base material for all instances 2010-09-06 18:09:19 +01:00
test-texture-quality.c Deprecate ClutterBehaviour and sub-classes 2010-11-18 15:21:16 +00:00
test-textures.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-threads.c timeline: Rename the reverse property to auto-reverse 2010-12-17 12:07:52 +00:00
test-unproject.c Remove Units from the public API 2009-05-06 16:44:47 +01:00
wrapper.sh.in build: Allow to run the tests from any directory 2010-07-06 12:39:15 +01:00