X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fchannelinfo.C;h=177f2840447b3a87e77291d37323140bdc58847b;hp=3d1fa69f3ea2440de618713802b704eb54167ab6;hb=a19a685a46ddc630010788707d9e5b9d2342af46;hpb=15df6cbff7373d232ae0b8dcaecd9aa51ff5c388 diff --git a/cinelerra-5.1/cinelerra/channelinfo.C b/cinelerra-5.1/cinelerra/channelinfo.C index 3d1fa69f..177f2840 100644 --- a/cinelerra-5.1/cinelerra/channelinfo.C +++ b/cinelerra-5.1/cinelerra/channelinfo.C @@ -259,6 +259,7 @@ int ChanSearchList::move_column_event() void ChanSearchGUI::create_objects() { + lock_window("ChanSearchGUI::create_objects"); int pady = BC_TextBox::calculate_h(this, MEDIUMFONT, 0, 1) + 5; int padx = BC_Title::calculate_w(this, (char*)"X", MEDIUMFONT); int x = padx/2, y = pady/4; @@ -301,6 +302,7 @@ void ChanSearchGUI::create_objects() set_icon(iwindow->mwindow->theme->get_image("record_icon")); search_text->activate(); + unlock_window(); } ChanSearchGUI::ChanSearchGUI(ChanSearch *cswindow) @@ -1283,6 +1285,7 @@ int ChannelInfoGUIBatches::handle_event() void ChannelInfoGUI::create_objects() { + lock_window("ChannelInfoGUI::create_objects"); panel = new ChannelPanel(this,0,0,panel_w,panel_h); add_subwindow(panel); panel->create_objects(); @@ -1373,6 +1376,7 @@ void ChannelInfoGUI::create_objects() channel_search = new ChanSearch(iwindow); show_window(); + unlock_window(); } ChannelInfoGUI::ChannelInfoGUI(ChannelInfo *iwindow,