[GTK3] Allow multiple simultaneous instances
This commit is contained in:
parent
ade14530e4
commit
9614b47cd7
@ -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