template<class StringList>
void EntryCompletion<StringList>::append(const char *string)
{
- GtkTreeIter iter;
- gtk_list_store_append(m_store, &iter);
- gtk_list_store_set(m_store, &iter, 0, string, -1);
+ m_store.append(0, string);
}
template<class StringList>
template<class StringList>
void EntryCompletion<StringList>::clear()
{
- gtk_list_store_clear(m_store);
+ m_store.clear();
}
template<class StringList>