From a3c0c4621ddc5319c284df1cafda8713c1dd57f1 Mon Sep 17 00:00:00 2001 From: BearOso Date: Sun, 9 Aug 2020 14:28:20 -0500 Subject: [PATCH] Gtk: Don't pass arguments to gtkmm application. It tries to usurp the filename argument. --- gtk/src/gtk_s9x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/src/gtk_s9x.cpp b/gtk/src/gtk_s9x.cpp index ce4a649a..2513b1a1 100644 --- a/gtk/src/gtk_s9x.cpp +++ b/gtk/src/gtk_s9x.cpp @@ -50,7 +50,7 @@ static void S9xTerm(int signal) int main(int argc, char *argv[]) { struct sigaction sig_callback; - auto app = Gtk::Application::create(argc, argv, "com.snes9x.gtk", Gio::APPLICATION_NON_UNIQUE); + auto app = Gtk::Application::create("com.snes9x.gtk", Gio::APPLICATION_NON_UNIQUE); setlocale(LC_ALL, ""); bindtextdomain(GETTEXT_PACKAGE, SNES9XLOCALEDIR);