st: Adapt to ClutterGrab becoming a GObject

Change the unref function, since it's no longer a boxed type.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3028>
This commit is contained in:
Carlos Garnacho 2023-11-22 13:06:17 +01:00 committed by Marge Bot
parent b8db538b44
commit 14db121ce5

View File

@ -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;