2006-06-23 Ross Burton <ross@openedhand.com>

* examples/super-oh.c:
	Fix build with trails enabled. Still crashes.
This commit is contained in:
Ross Burton 2006-06-23 09:29:54 +00:00
parent 6ddf5c196a
commit ff1152e3b1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-06-23 Ross Burton <ross@openedhand.com>
* examples/super-oh.c:
Fix build with trails enabled. Still crashes.
2006-06-23 Ross Burton <ross@openedhand.com> 2006-06-23 Ross Burton <ross@openedhand.com>
* configure.ac: * configure.ac:

View File

@ -92,7 +92,7 @@ frame_cb (ClutterTimeline *timeline,
oh->bgpixb = clutter_stage_snapshot (CLUTTER_STAGE (stage), oh->bgpixb = clutter_stage_snapshot (CLUTTER_STAGE (stage),
0, 0, 0, 0,
CLUTTER_STAGE_WIDTH(), CLUTTER_STAGE_WIDTH(),
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); g_object_unref (stage);