]> Pileus Git - ~andy/gtk/commit
gtk: remove begin-user-action/end-user-action around copying
authorMichael Natterer <mitch@gimp.org>
Sun, 7 Mar 2010 11:15:33 +0000 (12:15 +0100)
committerMichael Natterer <mitch@gimp.org>
Sun, 7 Mar 2010 11:15:33 +0000 (12:15 +0100)
commit0a49865ec4dbe7b085f52d9ec2a2120b0d9f82d3
tree02c8bf820d461d83dc2902034d8400e161680226
parent85611bedcd721c3026d1112f2eccbc58806197eb
gtk: remove begin-user-action/end-user-action around copying

Copying to the clipboard is not a buffer mutation, so calling
gtk_text_buffer_begin_user_action() and _end_user_action() is only
confusing apps which connect to these signals in order to build undo
stacks or otherwise track buffer changes. Most likely, these apps
either didn't notice the bugus undo step or simply work around it.
gtk/gtktextbuffer.c