cookbook: Don't use the default stage
authorElliot Smith <elliot.smith@intel.com>
Fri, 27 Aug 2010 14:13:28 +0000 (15:13 +0100)
committerElliot Smith <elliot.smith@intel.com>
Fri, 27 Aug 2010 14:13:28 +0000 (15:13 +0100)
It's not necessary to use the default stage, so
don't encourage this in the JSON example.

doc/cookbook/examples/script-ui.json
doc/cookbook/script.xml

index 99a58e9..83b1451 100644 (file)
@@ -2,7 +2,6 @@
   {
     "id" : "stage",
     "type" : "ClutterStage",
-    "is-default" : true,
     "width" : 400,
     "height" : 400,
     "color" : "#333355ff",
index 11c83f4..f15d6b8 100644 (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" />
               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,