Merge branch 'master' into msvc-support-master

This commit is contained in:
Chun-wei Fan 2011-10-26 12:55:05 +08:00
commit 0406e235bf
5 changed files with 2872 additions and 621 deletions

View File

@ -222,13 +222,22 @@
* *
* Evaluates to %TRUE if the %CLUTTER_ACTOR_MAPPED flag is set. * Evaluates to %TRUE if the %CLUTTER_ACTOR_MAPPED flag is set.
* *
* Means "the actor will be painted if the stage is mapped." * The mapped state is set when the actor is visible and all its parents up
* to a top-level (e.g. a #ClutterStage) are visible, realized, and mapped.
* *
* %TRUE if the actor is visible; and all parents with possible exception * This check can be used to see if an actor is going to be painted, as only
* of the stage are visible; and an ancestor of the actor is a toplevel. * actors with the %CLUTTER_ACTOR_MAPPED flag set are going to be painted.
* *
* Clutter auto-maintains the mapped flag whenever actors are * The %CLUTTER_ACTOR_MAPPED flag is managed by Clutter itself, and it should
* reparented or shown/hidden. * not be checked directly; instead, the recommended usage is to connect a
* handler on the #GObject::notify signal for the #ClutterActor:mapped
* property of #ClutterActor, and check the presence of
* the %CLUTTER_ACTOR_MAPPED flag on state changes.
*
* It is also important to note that Clutter may delay the changes of
* the %CLUTTER_ACTOR_MAPPED flag on top-levels due to backend-specific
* limitations, or during the reparenting of an actor, to optimize
* unnecessary (and potentially expensive) state changes.
* *
* Since: 0.2 * Since: 0.2
*/ */
@ -243,7 +252,7 @@
* actor wants to delay allocating resources until it is attached to a * actor wants to delay allocating resources until it is attached to a
* stage, it may use the realize state to do so. However it is * stage, it may use the realize state to do so. However it is
* perfectly acceptable for an actor to allocate Cogl resources before * perfectly acceptable for an actor to allocate Cogl resources before
* being realized because there is only one GL context used by Clutter * being realized because there is only one drawing context used by Clutter
* so any resources will work on any stage. If an actor is mapped it * so any resources will work on any stage. If an actor is mapped it
* must also be realized, but an actor can be realized and unmapped * must also be realized, but an actor can be realized and unmapped
* (this is so hiding an actor temporarily doesn't do an expensive * (this is so hiding an actor temporarily doesn't do an expensive
@ -264,7 +273,7 @@
* *
* Note that an actor is only painted onscreen if it's mapped, which * Note that an actor is only painted onscreen if it's mapped, which
* means it's visible, and all its parents are visible, and one of the * means it's visible, and all its parents are visible, and one of the
* parents is a toplevel stage. * parents is a toplevel stage; see also %CLUTTER_ACTOR_IS_MAPPED.
* *
* Since: 0.2 * Since: 0.2
*/ */

View File

@ -1820,6 +1820,10 @@ clutter_get_option_group_without_init (void)
* error message will be placed inside @error instead of being * error message will be placed inside @error instead of being
* printed on the display. * printed on the display.
* *
* Just like clutter_init(), if this function returns an error code then
* any subsequent call to any other Clutter API will result in undefined
* behaviour - including segmentation faults.
*
* Return value: %CLUTTER_INIT_SUCCESS if Clutter has been successfully * Return value: %CLUTTER_INIT_SUCCESS if Clutter has been successfully
* initialised, or other values or #ClutterInitError in case of * initialised, or other values or #ClutterInitError in case of
* error. * error.
@ -1957,6 +1961,11 @@ clutter_parse_args (int *argc,
* yourself, you can use clutter_init_with_args(), which takes a #GError * yourself, you can use clutter_init_with_args(), which takes a #GError
* pointer.</note> * pointer.</note>
* *
* If this function fails, and returns an error code, any subsequent
* Clutter API will have undefined behaviour - including segmentation
* faults and assertion failures. Make sure to handle the returned
* #ClutterInitError enumeration value.
*
* Return value: a #ClutterInitError value * Return value: a #ClutterInitError value
*/ */
ClutterInitError ClutterInitError

526
po/es.po

File diff suppressed because it is too large Load Diff

2213
po/he.po Normal file

File diff suppressed because it is too large Load Diff

714
po/sl.po

File diff suppressed because it is too large Load Diff