forked from AuroraMiddleware/gtk
Avoid infinite recursion when removing a grab
https://bugzilla.gnome.org/show_bug.cgi?id=671819
This commit is contained in:
parent
232314d0fd
commit
de115c3fd3
@ -2365,9 +2365,10 @@ range_grab_remove (GtkRange *range)
|
|||||||
|
|
||||||
if (priv->grab_device)
|
if (priv->grab_device)
|
||||||
{
|
{
|
||||||
gtk_device_grab_remove (GTK_WIDGET (range),
|
GdkDevice *grab_device = priv->grab_device;
|
||||||
priv->grab_device);
|
|
||||||
priv->grab_device = NULL;
|
priv->grab_device = NULL;
|
||||||
|
gtk_device_grab_remove (GTK_WIDGET (range), grab_device);
|
||||||
}
|
}
|
||||||
|
|
||||||
location = priv->grab_location;
|
location = priv->grab_location;
|
||||||
|
Loading…
Reference in New Issue
Block a user