[clutter] examples/constraints: Do not use deprecated API
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] examples/constraints: Do not use deprecated API
- Date: Wed, 6 Jun 2012 13:01:26 +0000 (UTC)
commit c13290240c6087411835da1e6080ce3389714922
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Wed Jun 6 13:37:02 2012 +0100
examples/constraints: Do not use deprecated API
examples/constraints.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/examples/constraints.c b/examples/constraints.c
index 532eb32..99af0a4 100644
--- a/examples/constraints.c
+++ b/examples/constraints.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]