Silly function. Use gtk_entry_get_text() for a const string or else gtk_editable_get_chars() for an allocated string.