cookbook: Don't use the default stage

It's not necessary to use the default stage, so
don't encourage this in the JSON example.
This commit is contained in:
Elliot Smith 2010-08-27 15:13:28 +01:00
parent 6db795baf6
commit 2c3ca20cdc
2 changed files with 0 additions and 7 deletions

View File

@ -2,7 +2,6 @@
{
"id" : "stage",
"type" : "ClutterStage",
"is-default" : true,
"width" : 400,
"height" : 400,
"color" : "#333355ff",

View File

@ -94,7 +94,6 @@
{ <co id="script-ui-introduction-json-object-bracket" />
"id" : "stage", <co id="script-ui-introduction-json-id" />
"type" : "ClutterStage", <co id="script-ui-introduction-json-type" />
"is-default" : true, <co id="script-ui-introduction-json-default-stage" />
"width" : 400,
"height" : 400,
"color" : "#333355ff", <co id="script-ui-introduction-json-color-html" />
@ -160,11 +159,6 @@
specifies the type of the object; usually this will be
one of the Clutter object types.</para>
</callout>
<callout arearefs="script-ui-introduction-json-default-stage">
<para><varname>is-default</varname> is a special stage-only
property, which tells Clutter that the <type>ClutterStage</type>
instance used should be the default stage.</para>
</callout>
<callout arearefs="script-ui-introduction-json-color-html
script-ui-introduction-json-color-word">
<para>Colors can be set using hexadecimal color code strings,