This is a bugfix for GtkEditable. When you delete a selected text (by pressing DEL after selecting a certain text with the mouse) in a "delete-text" event handler `selection_start_pos' and `selection_end_pos' both were set to 0, while `has_selection' still holds 1. I simply moved the code that sets `has_selection' to 0 up so that it is executed before `gtk_editable_delete_text'. I have compiled and tested the patch against GTK version 1.2.4 succesfully. I was not sure what I should use as a username for the filename so i simply choose the username from my email address. regards, Andreas leitner@eiffel.com