]> 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)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:59:04 +0000 (20:59 -0400)
commit7eedb7a0b326eb0311011f2fc39567c2d63a1b60
treed215b2e0ccd1adf9aad04d07499390e10f57373a
parentf000d83f002d2c63c1fd6ce319287315f46ff8b5
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