]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
csg: add a FIXME to tell the code may be cleaner
authorThomas Debesse <dev@illwieckz.net>
Mon, 25 May 2020 17:45:57 +0000 (19:45 +0200)
committerThomas Debesse <dev@illwieckz.net>
Mon, 25 May 2020 17:45:57 +0000 (19:45 +0200)
radiant/csg.cpp

index 27f05bf5b64396d23e9eaa2d4dd1bcbce00da033..4ecbf5cc10d6f2ddde4b00c6c2c685e67d1f0000 100644 (file)
@@ -1028,6 +1028,7 @@ static gboolean CSGdlg_delete( GtkWidget *widget, GdkEventAny *event, CSGToolDia
 }
 
 void CSG_Tool(){
+       // FIXME: there is probably improvements to do less raw GTK stuff, more GTK wrapper
        if ( !g_csgtool_dialog.allocated ) {
                g_csgtool_dialog.allocated = true;
                g_csgtool_dialog.window = MainFrame_getWindow().create_dialog_window( "CSG Tool", G_CALLBACK( CSGdlg_delete ), &g_csgtool_dialog );