From 14db121ce540893fe80f856058fba2a2d9c8fccc Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 22 Nov 2023 13:06:17 +0100 Subject: [PATCH] st: Adapt to ClutterGrab becoming a GObject Change the unref function, since it's no longer a boxed type. Part-of: --- src/st/st-scroll-bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st/st-scroll-bar.c b/src/st/st-scroll-bar.c index 270f3f2db..7b2d4987e 100644 --- a/src/st/st-scroll-bar.c +++ b/src/st/st-scroll-bar.c @@ -644,7 +644,7 @@ stop_scrolling (StScrollBar *bar) if (priv->grab) { clutter_grab_dismiss (priv->grab); - g_clear_pointer (&priv->grab, clutter_grab_unref); + g_clear_object (&priv->grab); } priv->grab_device = NULL;