Wrap more GTK
[xonotic/netradiant.git] / contrib / hydratoolz / plugin.cpp
index 5ca4fad..52e7909 100644 (file)
@@ -185,7 +185,7 @@ int DoMessageBox( const char* lpText, const char* lpCaption, guint32 uType ){
                gtk_main_iteration();
 
        gtk_grab_remove( window );
-       gtk_widget_destroy( window );
+       window.destroy();
 
        return ret;
 }