Gtk: Don't pass arguments to gtkmm application.

It tries to usurp the filename argument.
This commit is contained in:
BearOso 2020-08-09 14:28:20 -05:00
parent 03d3f69a0c
commit a3c0c4621d
1 changed files with 1 additions and 1 deletions

View File

@ -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);