From 9614b47cd728682fa45e6e044dbc64dcec8e7e06 Mon Sep 17 00:00:00 2001 From: Maximilian Mader Date: Mon, 30 Sep 2019 03:41:00 +0200 Subject: [PATCH] [GTK3] Allow multiple simultaneous instances --- gtk3/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk3/main.c b/gtk3/main.c index 4578169..f0d6739 100644 --- a/gtk3/main.c +++ b/gtk3/main.c @@ -1066,7 +1066,7 @@ static void run(GApplication *app, UserData *user_data) { int main(int argc, char *argv[]) { // Create our GApplication and tell GTK that we are able to handle files - main_application = gtk_application_new(APP_ID, G_APPLICATION_HANDLES_OPEN); + main_application = gtk_application_new(APP_ID, G_APPLICATION_NON_UNIQUE | G_APPLICATION_HANDLES_OPEN); // Define our command line parameters GOptionEntry entries[] = {