summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-01-12 12:28:18 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2021-01-12 12:28:18 +0000
commit39e07a8d5640f76f418c3e77d87543c019313e31 (patch)
tree11fda4038e1939efb0aa0202de930faab31a5a2a
parent5286743cbe9657ddda9340cd5dcf85a0103235de (diff)
downloadgtk+-ebassi/aspect-frame-doc.tar.gz
Document limits of gtk_aspect_frame_get_ratio()ebassi/aspect-frame-doc
The GtkAspectFrame:ratio getter will return the value set, not the actual ratio computed in case GtkAspectFrame:obey-child is TRUE.
-rw-r--r--gtk/gtkaspectframe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkaspectframe.c b/gtk/gtkaspectframe.c
index 23d1ea8692..24938519fd 100644
--- a/gtk/gtkaspectframe.c
+++ b/gtk/gtkaspectframe.c
@@ -458,7 +458,8 @@ gtk_aspect_frame_set_ratio (GtkAspectFrame *self,
* gtk_aspect_frame_get_ratio:
* @self: a #GtkAspectFrame
*
- * Returns the desired aspect ratio of the child.
+ * Returns the desired aspect ratio of the child set using
+ * gtk_aspect_frame_set_ratio().
*
* Returns: the desired aspect ratio
*/