mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
Merge branch 'blink-assertion-for-4-6' into 'gtk-4-6'
Remove an assertion that we hit See merge request GNOME/gtk!4764
This commit is contained in:
commit
986fd9959d
@ -6571,7 +6571,13 @@ blink_cb (GtkWidget *widget,
|
||||
return G_SOURCE_REMOVE;
|
||||
}
|
||||
|
||||
g_assert (priv->selection_bound == priv->current_pos);
|
||||
if (priv->selection_bound != priv->current_pos)
|
||||
{
|
||||
g_warning ("GtkText - unexpected blinking selection. Removing");
|
||||
|
||||
gtk_text_check_cursor_blink (self);
|
||||
return G_SOURCE_REMOVE;
|
||||
}
|
||||
|
||||
blink_timeout = get_cursor_blink_timeout (self);
|
||||
blink_time = get_cursor_time (self);
|
||||
|
Loading…
Reference in New Issue
Block a user