[clutter] docs: Inlined examples break enums gtk-doc



commit 825e1e62421e72d7fbfeb6d362264ca485ccf4de
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Tue Jan 24 14:13:53 2012 +0000

    docs: Inlined examples break enums gtk-doc

 clutter/clutter-enums.h |   35 ++---------------------------------
 1 files changed, 2 insertions(+), 33 deletions(-)
---
diff --git a/clutter/clutter-enums.h b/clutter/clutter-enums.h
index a75f45c..5d6b812 100644
--- a/clutter/clutter-enums.h
+++ b/clutter/clutter-enums.h
@@ -407,41 +407,10 @@ typedef enum { /*< prefix=CLUTTER_OFFSCREEN_REDIRECT >*/
  *   should only be used if you are subclassing #ClutterActor and
  *   overriding the #ClutterActorClass.allocate() virtual function, but
  *   you wish to use the default implementation of the virtual function
- *   inside #ClutterActor, for instance:
- * |[
- *   static void
- *   my_actor_allocate (ClutterActor *actor,
- *                      const ClutterActorBox *alloc,
- *                      ClutterAllocationFlags flags)
- *   {
- *     ClutterActorBox new_alloc;
- *     ClutterAllocationFlags new_flags;
- *
- *     /&ast; change the allocation &ast;/
- *     new_alloc = *alloc;
- *     new_alloc.x1 += 6;
- *     new_alloc.y1 += 3;
- *     new_alloc.x2 -= 6;
- *     new_alloc.y2 -= 3;
- *
- *     /&ast; change the flags &ast;/
- *     new_flags = flags | CLUTTER_DELEGATE_LAYOUT;
- *
- *     /&ast; store the allocation and delegate the children layout
- *      &ast; to the ClutterLayoutManager used by the actor.
- *      &ast;/
- *     clutter_actor_set_allocation (actor, &amp;new_alloc, flags);
- *
- *     /&ast; alternatively, instead of using this flags, you could
- *      &ast; retrieve the layout manager and call the
- *      &ast; clutter_layout_manager_allocate() yourself.
- *      &ast;/
- *   }
- * ]|
- *   the %CLUTTER_DELEGATE_LAYOUT was added in Clutter 1.10.
+ *   inside #ClutterActor. Added in Clutter 1.10.
  *
  * Flags passed to the #ClutterActorClass.allocate() virtual function
- * and to the clutter_actor_allocate() function
+ * and to the clutter_actor_allocate() function.
  *
  * Since: 1.0
  */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]