diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-01-12 12:28:18 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-01-12 12:28:18 +0000 |
commit | 39e07a8d5640f76f418c3e77d87543c019313e31 (patch) | |
tree | 11fda4038e1939efb0aa0202de930faab31a5a2a | |
parent | 5286743cbe9657ddda9340cd5dcf85a0103235de (diff) | |
download | gtk+-39e07a8d5640f76f418c3e77d87543c019313e31.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.c | 3 |
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 */ |