From 692e1f2759eb017237c67c9305b88feda42c0408 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Wed, 10 Jan 2024 22:19:42 +0100 Subject: [PATCH] docs/clutter: Drop no longer applicable examples links Part-of: --- clutter/clutter/clutter-bin-layout.c | 3 --- clutter/clutter/clutter-constraint.c | 29 -------------------------- clutter/clutter/clutter-flow-layout.c | 3 --- clutter/clutter/clutter-image.c | 3 --- clutter/clutter/clutter-scroll-actor.c | 3 --- 5 files changed, 41 deletions(-) diff --git a/clutter/clutter/clutter-bin-layout.c b/clutter/clutter/clutter-bin-layout.c index 5ea81649b..ade78704a 100644 --- a/clutter/clutter/clutter-bin-layout.c +++ b/clutter/clutter/clutter-bin-layout.c @@ -37,9 +37,6 @@ * of the other; * - for each layer there are horizontal and vertical * alignment policies. - * - * The [bin-layout example](https://git.gnome.org/browse/clutter/tree/examples/bin-layout.c?h=clutter-1.18) - * shows how to pack actors inside a #ClutterBinLayout. */ #include "config.h" diff --git a/clutter/clutter/clutter-constraint.c b/clutter/clutter/clutter-constraint.c index ea1348719..237d1a3d1 100644 --- a/clutter/clutter/clutter-constraint.c +++ b/clutter/clutter/clutter-constraint.c @@ -64,35 +64,6 @@ * horizontal or vertical edges then it can also expand to fit the empty * space. * - * The [constraints example](https://git.gnome.org/browse/clutter/tree/examples/constraints.c?h=clutter-1.18) - * uses various types of #ClutterConstraints to lay out three actors on a - * resizable stage. Only the central actor has an explicit size, and no - * actor has an explicit position. - * - * - The #ClutterActor with [property@Clutter.Actor:name] `layerA` is explicitly - * sized to 100 pixels by 25 pixels, and it's added to the #ClutterStage - * - two #ClutterAlignConstraints are used to anchor `layerA` to the - * center of the stage, by using 0.5 as the alignment #ClutterAlignConstraint:factor on - * both the X and Y axis - * - the #ClutterActor with [property@Clutter.Actor:name] `layerB` is added to the - * #ClutterStage with no explicit size - * - the [property@Clutter.Actor:x] and [property@Clutter.Actor:width] of `layerB` are bound - * to the same properties of `layerA` using two #ClutterBindConstraint - * objects, thus keeping `layerB` aligned to `layerA` - * - the top edge of `layerB` is snapped together with the bottom edge - * of `layerA`; the bottom edge of `layerB` is also snapped together with - * the bottom edge of the #ClutterStage; an offset is given to the two - * #ClutterSnapConstraintss to allow for some padding; since `layerB` is - * snapped between two different #ClutterActors, its height is stretched - * to match the gap - * - the #ClutterActor with [property@Clutter.Actor:name] `layerC` mirrors `layerB`, - * snapping the top edge of the #ClutterStage to the top edge of `layerC` - * and the top edge of `layerA` to the bottom edge of `layerC` - * - * You can try resizing interactively the #ClutterStage and verify - * that the three #ClutterActors maintain the same position and - * size relative to each other, and to the #ClutterStage. - * * It is important to note that Clutter does not avoid loops or * competing constraints; if two or more #ClutterConstraints * are operating on the same positional or dimensional attributes of an diff --git a/clutter/clutter/clutter-flow-layout.c b/clutter/clutter/clutter-flow-layout.c index a08d4c387..ffd850711 100644 --- a/clutter/clutter/clutter-flow-layout.c +++ b/clutter/clutter/clutter-flow-layout.c @@ -46,9 +46,6 @@ * - the size of the columns or rows can be controlled * for both minimum and maximum; the spacing can also be controlled * in both columns and rows. - * - * The [flow-layout example](https://git.gnome.org/browse/clutter/tree/examples/flow-layout.c?h=clutter-1.18) - * shows how to use the #ClutterFlowLayout. */ #include "config.h" diff --git a/clutter/clutter/clutter-image.c b/clutter/clutter/clutter-image.c index bdb9afd0a..7e9f9bcb6 100644 --- a/clutter/clutter/clutter-image.c +++ b/clutter/clutter/clutter-image.c @@ -29,9 +29,6 @@ * * #ClutterImage is a #ClutterContent implementation that displays * image data inside a [class@Actor]. - * - * See [image.c](https://git.gnome.org/browse/clutter/tree/examples/image-content.c?h=clutter-1.18) - * for an example of how to use #ClutterImage.. */ #include "config.h" diff --git a/clutter/clutter/clutter-scroll-actor.c b/clutter/clutter/clutter-scroll-actor.c index 06a2a66fd..34a6fa6c3 100644 --- a/clutter/clutter/clutter-scroll-actor.c +++ b/clutter/clutter/clutter-scroll-actor.c @@ -35,9 +35,6 @@ * * #ClutterScrollActor does not provide pointer or keyboard event handling, * nor does it provide visible scroll handles. - * - * See [scroll-actor.c](https://git.gnome.org/browse/clutter/tree/examples/scroll-actor.c?h=clutter-1.18) - * for an example of how to use #ClutterScrollActor.. */ #include "config.h"