[GTK3] Allow multiple simultaneous instances

This commit is contained in:
Maximilian Mader 2019-09-30 03:41:00 +02:00
parent ade14530e4
commit 9614b47cd7
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[]) {
// 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[] = {