X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fgwindowgui.C;h=53061be9ffbddf048d3ebeff3d23b7e30b49d236;hb=721a106de35567bcab14a0e92718767189acf176;hp=f90a387815add0beaf2a066a44ae59f8059f5d78;hpb=3d5faf45a6c261bb3e9973b42cf682415a1fde2e;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/gwindowgui.C b/cinelerra-5.1/cinelerra/gwindowgui.C index f90a3878..53061be9 100644 --- a/cinelerra-5.1/cinelerra/gwindowgui.C +++ b/cinelerra-5.1/cinelerra/gwindowgui.C @@ -209,7 +209,6 @@ GWindowColorButton::~GWindowColorButton() int GWindowColorButton::handle_new_color(int color, int alpha) { this->color = color; - color_thread->update_lock->unlock(); return 1; } @@ -252,7 +251,9 @@ void GWindowGUI::create_objects() continue; } const char *label = toggle_text(tp); - int color = tp->isauto > 0 ? auto_colors[tp->ref] : WHITE; + int color = tp->isauto > 0 ? + auto_colors[tp->ref] : + get_resources()->text_default ; GWindowToggle *toggle = new GWindowToggle(this, x, y, label, color, tp); add_tool(toggles[i] = toggle); if( tp->isauto > 0 ) {