summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-01-12 12:23:14 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2021-01-12 12:23:14 +0000
commit58bb998ef03e2ab91cd5adc5413155c6d82c8983 (patch)
tree65838b3b1070241d64ae1b19c35955046dd5d1bb
parentff341243947ef98e87aa26d18d9e9ddcdd2b6b60 (diff)
downloadgtk+-58bb998ef03e2ab91cd5adc5413155c6d82c8983.tar.gz
docs: GtkAspectFrame is not a GtkFrame any more
-rw-r--r--gtk/gtkaspectframe.c15
1 files 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"