X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fawindowgui.C;h=7ea4759f49fdc36d402fc243b9a5529096a12a10;hb=b30123c9534e8df8da1694d40396d86396bf1c08;hp=bffaa2d1268d9a1ebdc933ef5822a31fe2cf1b5c;hpb=540f653df26e5e2d1249de1f7a1a3d888dddf341;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/awindowgui.C b/cinelerra-5.1/cinelerra/awindowgui.C index bffaa2d1..7ea4759f 100644 --- a/cinelerra-5.1/cinelerra/awindowgui.C +++ b/cinelerra-5.1/cinelerra/awindowgui.C @@ -651,7 +651,6 @@ void AssetPicon::create_objects() open_render_engine(edl, 0); render_video(0, gui->temp_picon); close_render_engine(); - gui->lock_window("AssetPicon::create_objects 0"); icon_vframe = new VFrame(0, -1, pixmap_w, pixmap_h, BC_RGB888, -1); icon_vframe->transfer_from(gui->temp_picon); @@ -661,6 +660,7 @@ void AssetPicon::create_objects() pixmap_w = icon_vframe->get_w(); pixmap_h = icon_vframe->get_h(); } + gui->lock_window("AssetPicon::create_objects 0"); icon = new BC_Pixmap(gui, pixmap_w, pixmap_h); icon->draw_vframe(icon_vframe, 0, 0, pixmap_w, pixmap_h, 0, 0); @@ -1209,6 +1209,7 @@ AWindowRemovePluginGUI:: void AWindowRemovePluginGUI::create_objects() { + lock_window("AWindowRemovePluginGUI::create_objects"); BC_Button *ok_button = new BC_OKButton(this); add_subwindow(ok_button); BC_Button *cancel_button = new BC_CancelButton(this); @@ -1222,6 +1223,7 @@ void AWindowRemovePluginGUI::create_objects() 0, 0, 1, 0, 0, LISTBOX_SINGLE, ICON_LEFT, 0); add_subwindow(list); show_window(); + unlock_window(); } int AWindowRemovePlugin::remove_plugin(PluginServer *plugin, ArrayList &folder)