[GTK3] Allow multiple simultaneous instances
This commit is contained in:
parent
8ce3b02833
commit
c27e266cda
@ -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[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user