gcc-4.0 compatibility changes gui
authoralpar
Wed, 15 Jun 2005 10:19:44 +0000
branchgui
changeset 15e8c21454f125
parent 14 39945305a572
child 16 319a4fa65e05
gcc-4.0 compatibility changes
coloring.cc still generates warnings. Don't know why.
edit_win.cc
     1.1 --- a/edit_win.cc	Tue Jun 14 16:56:37 2005 +0000
     1.2 +++ b/edit_win.cc	Wed Jun 15 10:19:44 2005 +0000
     1.3 @@ -18,7 +18,7 @@
     1.4    signal_key_press_event().connect(sigc::mem_fun(*this, &EditWin::close_if_escape_is_pressed));
     1.5    
     1.6    //buttons array
     1.7 -  buttons=new (Gtk::RadioButton *) [TOOL_NUM];
     1.8 +  buttons=new Gtk::RadioButton * [TOOL_NUM];
     1.9    for(int i=0;i<TOOL_NUM;i++)
    1.10      {
    1.11        buttons[i]=NULL;