]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/map.cpp
Wrap more GTK
[xonotic/netradiant.git] / radiant / map.cpp
index 3275184b6b30a6a11082b300baebf8932e4aaacf..30364b273390df4b601beed3ffa0d2a5f206bad5 100644 (file)
@@ -833,9 +833,9 @@ void DoMapInfo(){
                        vbox.pack_start( scr, TRUE, TRUE, 0 );
 
                        {
-                               ui::ListStore store = ui::ListStore(gtk_list_store_new( 2, G_TYPE_STRING, G_TYPE_STRING ));
+                               auto store = ui::ListStore::from(gtk_list_store_new( 2, G_TYPE_STRING, G_TYPE_STRING ));
 
-                               auto view = ui::TreeView(ui::TreeModel(store ));
+                               auto view = ui::TreeView(ui::TreeModel::from(store._handle));
                                gtk_tree_view_set_headers_clickable(view, TRUE );
 
                                {