mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
examples/constraints: Do not use deprecated API
This commit is contained in:
parent
4db310b127
commit
c13290240c
@ -13,7 +13,7 @@ main (int argc, char *argv[])
|
||||
stage = clutter_stage_new ();
|
||||
clutter_actor_set_name (stage, "stage");
|
||||
clutter_stage_set_title (CLUTTER_STAGE (stage), "Snap Constraint");
|
||||
clutter_stage_set_color (CLUTTER_STAGE (stage), CLUTTER_COLOR_Aluminium1);
|
||||
clutter_actor_set_background_color (stage, CLUTTER_COLOR_Aluminium1);
|
||||
clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE);
|
||||
g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user