Commit 0bcc3a8c authored by Murray Cumming's avatar Murray Cumming

examples: Update test-actors for the Image::set()->set_data() API change.

See bug #761847
parent 15fbd9f2
......@@ -163,7 +163,7 @@ int main(int argc, char *argv[])
pixbuf = Gdk::Pixbuf::create_from_file("actor.png");
Glib::RefPtr<Clutter::Image> image = Clutter::Image::create();
image->set(pixbuf->get_pixels(),
image->set_data(pixbuf->get_pixels(),
(pixbuf->get_has_alpha() ? COGL_PIXEL_FORMAT_RGBA_8888 : COGL_PIXEL_FORMAT_RGB_888),
pixbuf->get_width(),
pixbuf->get_height(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment