X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fgwindow.C;h=e0e2ce74b1b8dcc56db8e45ea9ae4e94cc20cbde;hp=bfa490d3bf35e97ae047dbc6edbc1814e23655ff;hb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;hpb=3ec3a9cc6afc6561311686b3ec597ee3c1d80d6f diff --git a/cinelerra-5.1/cinelerra/gwindow.C b/cinelerra-5.1/cinelerra/gwindow.C index bfa490d3..e0e2ce74 100644 --- a/cinelerra-5.1/cinelerra/gwindow.C +++ b/cinelerra-5.1/cinelerra/gwindow.C @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * + * */ #include "gwindow.h" @@ -33,7 +33,7 @@ GWindow::GWindow(MWindow *mwindow) GWindow::~GWindow() { if(gui && running()) { - gui->set_done(0); + gui->set_done(1); } join(); delete gui; gui = 0; @@ -51,6 +51,7 @@ void GWindow::create_objects() GWindowGUI::calculate_extents(mwindow->gui, &w, &h); gui = new GWindowGUI(mwindow, w, h); + gui->load_defaults(); gui->create_objects(); }