Change has_selection to always be set in claim_selection()

This commit is contained in:
Owen Taylor 1998-03-08 21:53:56 +00:00
parent ab30a02e5f
commit 2b3f8baf86

View File

@ -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))