GtkTextBuffer::set_modified

void set_modified(bool setting);

See also: get_modified()