clutter-backend-win32: Use g_object_unref on the stage manager
authorNeil Roberts <neil@linux.intel.com>
Mon, 1 Nov 2010 15:13:12 +0000 (15:13 +0000)
committerNeil Roberts <neil@linux.intel.com>
Mon, 1 Nov 2010 15:14:07 +0000 (15:14 +0000)
commitf13f545aa9824ed53ea5a78878c7f96d40239e48
treece03e53cbc56207e8dd44b54bf4df395d91e062a
parent907490d795f4438e631679fce47cae7fc08830d6
clutter-backend-win32: Use g_object_unref on the stage manager

Previously when trying to destroy all of the stages in the backend
dispose function it would poke directly in the ClutterStageManager
struct to get the list. In 8613013ab08 the defintion of
ClutterStageManager moved to a different header which isn't included
by the Win32 backend so it wouldn't compile. In that commit the X11
backend was changed to unref the stage manager instead of poking in
the internals so we should do the same for the win32 backend.
clutter/win32/clutter-backend-win32.c