mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue