mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
Change has_selection to always be set in claim_selection()
This commit is contained in:
parent
ab30a02e5f
commit
2b3f8baf86
@ -607,6 +607,8 @@ gtk_editable_claim_selection (GtkEditable *editable,
|
||||
{
|
||||
g_return_if_fail (GTK_WIDGET_REALIZED (editable));
|
||||
|
||||
editable->has_selection = FALSE;
|
||||
|
||||
if (claim)
|
||||
{
|
||||
if (gtk_selection_owner_set (GTK_WIDGET(editable), GDK_SELECTION_PRIMARY, time))
|
||||
|
Loading…
Reference in New Issue
Block a user