From 483ecd16de6801aed536eca64ed51a6a4c669e39 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Aug 2020 15:48:53 +0200 Subject: Don't access static methods through instances --- src/gui/App.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') diff --git a/src/gui/App.cpp b/src/gui/App.cpp index fa48cb18..dc8f605a 100644 --- a/src/gui/App.cpp +++ b/src/gui/App.cpp @@ -151,12 +151,12 @@ App::run() // with 'ingen -egl' we'd get a bunch of notifications about load // immediately before even knowing about the root graph or plugins) while (!_connect_window->attached()) { - if (_main->iteration()) { + if (Gtk::Main::iteration()) { break; } } - _main->run(); + Gtk::Main::run(); } void -- cgit v1.2.1