]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/brushexport/interface.cpp
Wrap GtkListStore
[xonotic/netradiant.git] / contrib / brushexport / interface.cpp
index c0f18c82b29db4d62370e5d9a7183fc6940a6097..dc37bc8c5de22723104ec75865f51ff0cd4f65c2 100644 (file)
@@ -215,7 +215,7 @@ void CreateWindow( void ){
        gtk_tree_view_insert_column_with_attributes( GTK_TREE_VIEW( lookup_widget( wnd, "t_materialist" ) ), -1, "", renderer, "text", 0, NULL );
 
        // list store
-       GtkListStore* ignorelist = gtk_list_store_new( 1, G_TYPE_STRING );
+       ui::ListStore ignorelist = ui::ListStore(gtk_list_store_new( 1, G_TYPE_STRING ));
        gtk_tree_view_set_model( GTK_TREE_VIEW( lookup_widget( wnd, "t_materialist" ) ), GTK_TREE_MODEL( ignorelist ) );
        g_object_unref( ignorelist );