[GTK3] Allow multiple simultaneous instances

This commit is contained in:
Maximilian Mader 2019-09-30 03:41:00 +02:00
parent 8385a18233
commit b9fb1c2a43
Signed by: Max
GPG Key ID: F71D56A3151C4FB3

View File

@ -1066,7 +1066,7 @@ static void run(GApplication *app, UserData *user_data) {
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
// Create our GApplication and tell GTK that we are able to handle files // 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 // Define our command line parameters
GOptionEntry entries[] = { GOptionEntry entries[] = {