[libadwaita] clamp: Fix using "width" instead of "size" in doc



commit 2bae1bb07aac81533370732cfdd87d9f8eec12c3
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu Jun 10 15:33:44 2021 +0200

    clamp: Fix using "width" instead of "size" in doc

 src/adw-clamp-layout.c | 2 +-
 src/adw-clamp.c        | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/adw-clamp-layout.c b/src/adw-clamp-layout.c
index 9d0f1ac3..e43b969c 100644
--- a/src/adw-clamp-layout.c
+++ b/src/adw-clamp-layout.c
@@ -324,7 +324,7 @@ adw_clamp_layout_class_init (AdwClampLayoutClass *klass)
    *
    * Starting from this size, the layout will tighten its grip on the children,
    * slowly allocating less and less of the available size up to the maximum
-   * allocated size. Below that threshold and below the maximum width, the
+   * allocated size. Below that threshold and below the maximum size, the
    * children will be allocated all the available size.
    *
    * If the threshold is greater than the maximum size to allocate to the
diff --git a/src/adw-clamp.c b/src/adw-clamp.c
index 366395f7..961b0fa8 100644
--- a/src/adw-clamp.c
+++ b/src/adw-clamp.c
@@ -194,11 +194,11 @@ adw_clamp_class_init (AdwClampClass *klass)
    *
    * Starting from this size, the clamp will tighten its grip on the child,
    * slowly allocating less and less of the available size up to the maximum
-   * allocated size. Below that threshold and below the maximum width, the child
+   * allocated size. Below that threshold and below the maximum size, the child
    * will be allocated all the available size.
    *
    * If the threshold is greater than the maximum size to allocate to the child,
-   * the child will be allocated all the width up to the maximum.
+   * the child will be allocated all the size up to the maximum.
    * If the threshold is lower than the minimum size to allocate to the child,
    * that size will be used as the tightening threshold.
    *


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