Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #3123

See merge request GNOME/gtk!2539
This commit is contained in:
Matthias Clasen 2020-09-06 21:39:08 +00:00
commit 7180bfc288
2 changed files with 4 additions and 0 deletions

View File

@ -2042,6 +2042,8 @@ text_buffer_new (GtkAboutDialog *about,
gtk_text_buffer_get_end_iter (buffer, &end_iter);
gtk_text_buffer_apply_tag (buffer, tag, &start_iter, &end_iter);
gtk_text_buffer_set_enable_undo (buffer, FALSE);
return buffer;
}

View File

@ -1037,6 +1037,8 @@ gtk_text_history_set_enabled (GtkTextHistory *self,
clear_action_queue (&self->undo_queue);
clear_action_queue (&self->redo_queue);
}
gtk_text_history_update_state (self);
}
}