/* compile with gcc test-stage.c -o test-stage `pkg-config --cflags --libs clutter-1.0` */
#include <clutter/clutter.h>

int
main (int    argc,
      char **argv)
{
    ClutterActor *stage, *square, *vase;
    GOptionContext *option_context;
    GError *error = NULL;

    if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS) {
        return -1;
    }

    stage = clutter_stage_new ();

    /* Comment out this line and the stage will be shown but not at 200x200 obviously */
    clutter_actor_set_size (stage, 200, 200);
    g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL);

    square = clutter_actor_new ();
    clutter_actor_set_size (square, 100, 100);
    clutter_actor_set_background_color (square, CLUTTER_COLOR_LightSkyBlue);
    clutter_actor_add_child (stage, square);
    clutter_actor_show (square);

    clutter_actor_show (stage);
    clutter_main();
    return 0;
}
