X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fplugins%2Ftheme_unflat%2Funflattheme.C;fp=cinelerra-5.0%2Fplugins%2Ftheme_unflat%2Funflattheme.C;h=27140de16ef1324d691ab633e1aa1e98885edb7b;hb=55e2690938cfc977f708039199f1246f0a563545;hp=5c5d4e663fbbfc5564fdf784ca03b23bf9fda7f9;hpb=d7079fb6d5f3d12bc85f5413113890bc80dd22f2;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/plugins/theme_unflat/unflattheme.C b/cinelerra-5.0/plugins/theme_unflat/unflattheme.C index 5c5d4e66..27140de1 100644 --- a/cinelerra-5.0/plugins/theme_unflat/unflattheme.C +++ b/cinelerra-5.0/plugins/theme_unflat/unflattheme.C @@ -871,10 +871,8 @@ void UNFLATTHEME::draw_rmonitor_bg(RecordMonitorGUI *gui) void UNFLATTHEME::draw_mwindow_bg(MWindowGUI *gui) { // Button bar - gui->draw_3segmenth(mbuttons_x, - mbuttons_y - 1, - mwindow->session->mwindow_w, - get_image("mbutton_bg")); + gui->draw_3segmenth(mbuttons_x, mbuttons_y - 1, + gui->menu_w(), get_image("mbutton_bg")); int pdw = get_image("panel_divider")->get_w(); int x = mbuttons_x;