mirror of https://github.com/snes9xgit/snes9x.git
Gtk: Don't pass arguments to gtkmm application.
It tries to usurp the filename argument.
This commit is contained in:
parent
03d3f69a0c
commit
a3c0c4621d
|
@ -50,7 +50,7 @@ static void S9xTerm(int signal)
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
struct sigaction sig_callback;
|
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, "");
|
setlocale(LC_ALL, "");
|
||||||
bindtextdomain(GETTEXT_PACKAGE, SNES9XLOCALEDIR);
|
bindtextdomain(GETTEXT_PACKAGE, SNES9XLOCALEDIR);
|
||||||
|
|
Loading…
Reference in New Issue