From 60a5b15002ea970ffaee6489a5a9322698e6d0b3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Nov 2020 17:57:36 +0100 Subject: Fix static accessed through instance --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 5a8d6be..6ad255f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,5 @@ /* This file is part of Patchage. - * Copyright 2007-2014 David Robillard + * Copyright 2007-2020 David Robillard * * Patchage is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free @@ -81,7 +81,7 @@ main(int argc, char** argv) Gtk::Main app(argc, argv); Patchage patchage(argc, argv); - app.run(*patchage.window()); + Gtk::Main::run(*patchage.window()); patchage.save(); } catch (std::exception& e) { -- cgit v1.2.1