[gtk/ebassi/aspect-frame-doc: 1/3] docs: GtkAspectFrame is not a GtkFrame any more




commit 58bb998ef03e2ab91cd5adc5413155c6d82c8983
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Jan 12 12:23:14 2021 +0000

    docs: GtkAspectFrame is not a GtkFrame any more

 gtk/gtkaspectframe.c | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkaspectframe.c b/gtk/gtkaspectframe.c
index 916f307daf..45a9bf80e1 100644
--- a/gtk/gtkaspectframe.c
+++ b/gtk/gtkaspectframe.c
@@ -32,17 +32,16 @@
  * @Short_description: A frame that constrains its child to a particular aspect ratio
  * @Title: GtkAspectFrame
  *
- * The #GtkAspectFrame is useful when you want
- * pack a widget so that it can resize but always retains
- * the same aspect ratio. For instance, one might be
- * drawing a small preview of a larger image. #GtkAspectFrame
- * derives from #GtkFrame, so it can draw a label and
- * a frame around the child. The frame will be
- * “shrink-wrapped” to the size of the child.
+ * GtkAspectFrame is useful when you want pack a widget so that it can resize
+ * while retaining the same aspect ratio. For instance, one might be drawing a
+ * small preview of a larger image.
+ *
+ * The frame can respect the aspect ratio of the child widget, or use its own
+ * aspect ratio.
  *
  * # CSS nodes
  *
- * GtkAspectFrame uses a CSS node with name frame.
+ * GtkAspectFrame uses a CSS node with name `frame`.
  */
 
 #include "config.h"


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