This motion to dismiss must be granted, because the notice of appeal, not being one given in open court, and being in its nature an application for an order allowing the appeal, was entertained by the judge without the preliminary notice to the adverse party prescribed by section 2140 of the Code..