2006-06-23 Matthew Allum <mallum@openedhand.com>

* examples/super-oh.c:
        Remove random stage unref fixing trails. Fixes #98
This commit is contained in:
Matthew Allum 2006-06-23 16:29:11 +00:00
parent 21728c5ba9
commit e2a6630817
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-06-23 Matthew Allum <mallum@openedhand.com>
* examples/super-oh.c:
Remove random stage unref fixing trails. Fixes #98
2006-06-23 Matthew Allum <mallum@openedhand.com> 2006-06-23 Matthew Allum <mallum@openedhand.com>
* examples/video-player.c: (size_change): * examples/video-player.c: (size_change):

View File

@ -3,7 +3,7 @@
#include <errno.h> #include <errno.h>
#include <stdlib.h> #include <stdlib.h>
#define TRAILS 0 #define TRAILS 0
#define NHANDS 6 #define NHANDS 6
#define RADIUS ((CLUTTER_STAGE_WIDTH()+CLUTTER_STAGE_HEIGHT())/6) #define RADIUS ((CLUTTER_STAGE_WIDTH()+CLUTTER_STAGE_HEIGHT())/6)
@ -95,7 +95,6 @@ frame_cb (ClutterTimeline *timeline,
CLUTTER_STAGE_HEIGHT()); CLUTTER_STAGE_HEIGHT());
clutter_texture_set_pixbuf (CLUTTER_TEXTURE (oh->bgtex), oh->bgpixb); clutter_texture_set_pixbuf (CLUTTER_TEXTURE (oh->bgtex), oh->bgpixb);
g_object_unref (G_OBJECT (oh->bgpixb)); g_object_unref (G_OBJECT (oh->bgpixb));
g_object_unref (stage);
#endif #endif
/* Rotate everything clockwise about stage center*/ /* Rotate everything clockwise about stage center*/