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:
parent
b8db538b44
commit
14db121ce5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user