From 97612b4a83ccb62a68e731a4a852f74ba63926df Mon Sep 17 00:00:00 2001 From: Qball Cow Date: Mon, 9 Dec 2013 09:34:08 +0100 Subject: [PATCH] Possible fix for 3845. --- src/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 3d0ef605..eb20fd5b 100644 --- a/src/main.c +++ b/src/main.c @@ -181,7 +181,9 @@ static int handle_commandline(GApplication *app, GApplicationCommandLine *cmd, g } }else { printf("activate\n"); - g_application_activate(gmpc_application); + if(g_application_get_is_remote(app)) { + g_application_activate(gmpc_application); + } } return EXIT_SUCCESS; -- 2.11.4.GIT