[gnome-shell] st/scroll-view: Add missing notify call



commit 6a6b7eb341527d62c33ea2f3d60263a40b847d64
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Feb 9 16:17:11 2022 +0100

    st/scroll-view: Add missing notify call
    
    Another property where changes aren't notified when going through
    the public setter.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2168>

 src/st/st-scroll-view.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/st/st-scroll-view.c b/src/st/st-scroll-view.c
index fe7f3313e3..132abd5a40 100644
--- a/src/st/st-scroll-view.c
+++ b/src/st/st-scroll-view.c
@@ -1228,6 +1228,8 @@ st_scroll_view_set_mouse_scrolling (StScrollView *scroll,
       /* make sure we can receive mouse wheel events */
       if (enabled)
         clutter_actor_set_reactive ((ClutterActor *) scroll, TRUE);
+
+      g_object_notify_by_pspec (G_OBJECT (scroll), props[PROP_MOUSE_SCROLL]);
     }
 }
 


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