Simple text editor on C with GTK+