[gnome-shell] StAdjustment: note when 'changed' is not emitted



commit ee3eaf0c0e8a0c7bf82c9fd4b69d32c854cf9a99
Author: Andy Holmes <andrew g r holmes gmail com>
Date:   Mon Sep 7 15:54:21 2020 -0700

    StAdjustment: note when 'changed' is not emitted
    
    Like `GtkAdjustment`, `StAdjustment:changed` is not emitted for the
    `value` property except when changed with `st_adjustment_set_values()`.
    
    Note this behaviour in the signal documentation
    
    closes https://gitlab.gnome.org/GNOME/gnome-shell/issues/3147

 src/st/st-adjustment.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/st/st-adjustment.c b/src/st/st-adjustment.c
index 96b126c8dc..5235cb2357 100644
--- a/src/st/st-adjustment.c
+++ b/src/st/st-adjustment.c
@@ -375,7 +375,8 @@ st_adjustment_class_init (StAdjustmentClass *klass)
    * StAdjustment::changed:
    * @self: the #StAdjustment
    *
-   * Emitted when any of the adjustment values have changed
+   * Emitted when any of the adjustment properties have changed, except for
+   * #StAdjustment:value.
    */
   signals[CHANGED] =
     g_signal_new ("changed",


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