diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2023-03-26 15:48:44 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2023-04-21 08:43:34 +0200 |
commit | 47e90f1de659b0ca5d056b139894dcaa91841fe4 (patch) | |
tree | 1a817c05f0078b37dfc5f827554c78ea23fe2e06 /gdk | |
parent | 1b2ae02b2616b4e570492276809e946be6af1960 (diff) | |
download | gtk+-47e90f1de659b0ca5d056b139894dcaa91841fe4.tar.gz |
Remove wrong annotation for GdkToplevel::compute-size
The size argument is passed to the signal by the GDK surface machinery,
as is: it's not going to be allocated by the caller (since it's a
signal), and it's not an out argument.
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdktoplevel.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gdk/gdktoplevel.c b/gdk/gdktoplevel.c index a7e4e42fcf..5a5c9e4d0f 100644 --- a/gdk/gdktoplevel.c +++ b/gdk/gdktoplevel.c @@ -261,15 +261,16 @@ gdk_toplevel_default_init (GdkToplevelInterface *iface) /** * GdkToplevel::compute-size: * @toplevel: a `GdkToplevel` - * @size: (type Gdk.ToplevelSize) (out caller-allocates): a `GdkToplevelSize` + * @size: (type Gdk.ToplevelSize): a `GdkToplevelSize` * * Emitted when the size for the surface needs to be computed, when * it is present. * - * It will normally be emitted during or after [method@Gdk.Toplevel.present], - * depending on the configuration received by the windowing system. - * It may also be emitted at any other point in time, in response - * to the windowing system spontaneously changing the configuration. + * This signal will normally be emitted during or after a call to + * [method@Gdk.Toplevel.present], depending on the configuration + * received by the windowing system. It may also be emitted at any + * other point in time, in response to the windowing system + * spontaneously changing the configuration of the toplevel surface. * * It is the responsibility of the toplevel user to handle this signal * and compute the desired size of the toplevel, given the information |