X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=contrib%2Fbrushexport%2Finterface.cpp;h=580b8dec24e13ed23a5ddc568207ad7fa8ff1c1f;hp=e06040d3514f26e9c21c68070acf8cec715936d1;hb=6e9818d9cddf3880d001a544770c8c2c5187676f;hpb=f92114c3f8baaedf9e0a4ff21141e9349d838f5c diff --git a/contrib/brushexport/interface.cpp b/contrib/brushexport/interface.cpp index e06040d3..580b8dec 100644 --- a/contrib/brushexport/interface.cpp +++ b/contrib/brushexport/interface.cpp @@ -216,7 +216,7 @@ void CreateWindow( void ){ void DestroyWindow( void ){ ASSERT_NOTNULL( g_brushexp_window ); - gtk_widget_destroy( g_brushexp_window ); + ui::Widget(g_brushexp_window).destroy(); g_brushexp_window = 0; }