[gtk/leak-fixes: 1/4] toplevel: Revise docs wording a bit




commit 0b218835188489ad845407f8020a2fa10405e679
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Aug 7 14:56:42 2020 -0400

    toplevel: Revise docs wording a bit
    
    The documentation of ::compute-size didn't quite
    keep up with the changes in the MR. Fix it up.

 gdk/gdktoplevel.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/gdk/gdktoplevel.c b/gdk/gdktoplevel.c
index a7802a3504..5721d02418 100644
--- a/gdk/gdktoplevel.c
+++ b/gdk/gdktoplevel.c
@@ -189,12 +189,7 @@ gdk_toplevel_default_init (GdkToplevelInterface *iface)
    * system spontaneously changing the configuration.
    *
    * It is the responsibility of the GdkToplevel user to handle this signal;
-   * failing to do so will result in an arbitrary fixed size being used as a
-   * result. The signal may be emitted with the pointer to the @size being
-   * %NULL, in which case only the minimum and maximum size needs to be
-   * computed. This could happen for example if the toplevel configuration is in
-   * a state where the size is decided by the windowing system, such as
-   * maximized or fullscreen.
+   * failing to do so will result in an arbitrary size being used as a result.
    */
   signals[COMPUTE_SIZE] =
     g_signal_new ("compute-size",


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