Wrap more GTK
[xonotic/netradiant.git] / radiant / gtkmisc.cpp
index 76ad6e1..0f21022 100644 (file)
@@ -121,7 +121,7 @@ bool color_dialog( ui::Widget parent, Vector3& color, const char* title ){
                color[2] = clr.blue / 65535.0f;
        }
 
-       gtk_widget_destroy( dlg );
+       dlg.destroy();
 
        return ok;
 }