]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/map.cpp
Wrap more GTK
[xonotic/netradiant.git] / radiant / map.cpp
index 1905c60b3901f332f9d966fe1f35b7fbfdb40b6b..fff85c1f2ebe397ba7cfc91ad0d6b17885c856fe 100644 (file)
@@ -896,7 +896,7 @@ void DoMapInfo(){
        // save before exit
        window_get_position( window, g_posMapInfoWnd );
 
        // save before exit
        window_get_position( window, g_posMapInfoWnd );
 
-       gtk_widget_destroy( GTK_WIDGET( window ) );
+    window.destroy();
 }
 
 
 }
 
 
@@ -2114,7 +2114,7 @@ void DoFind(){
                SelectBrush( atoi( entstr ), atoi( brushstr ) );
        }
 
                SelectBrush( atoi( entstr ), atoi( brushstr ) );
        }
 
-       gtk_widget_destroy( GTK_WIDGET( window ) );
+    window.destroy();
 }
 
 void Map_constructPreferences( PreferencesPage& page ){
 }
 
 void Map_constructPreferences( PreferencesPage& page ){