]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/textureentry.cpp
Wrap more GTK
[xonotic/netradiant.git] / radiant / textureentry.cpp
index 6e6e9de827e69f1721cb0f9d037494e8c60d299e..07fb0235f71e60c8cbfd19d08f1e36599826c67b 100644 (file)
@@ -36,7 +36,7 @@ void EntryCompletion<StringList>::connect(ui::Entry entry)
 
     auto completion = ui::EntryCompletion(gtk_entry_completion_new());
     gtk_entry_set_completion(entry, completion);
-    gtk_entry_completion_set_model(completion, GTK_TREE_MODEL(m_store));
+    gtk_entry_completion_set_model(completion, m_store);
     gtk_entry_completion_set_text_column(completion, 0);
 }