mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Merge branch 'mcatanzaro/#6734' into 'main'
text: fix critical in paste_received Closes #6734 See merge request GNOME/gtk!7290
This commit is contained in:
commit
4142c4d79e
@ -5417,6 +5417,8 @@ paste_received (GObject *clipboard,
|
||||
|
||||
if (priv->truncate_multiline)
|
||||
length = truncate_multiline (text);
|
||||
else
|
||||
length = strlen (text);
|
||||
|
||||
begin_change (self);
|
||||
if (priv->selection_bound != priv->current_pos)
|
||||
|
Loading…
Reference in New Issue
Block a user