diff options
Diffstat (limited to 'src/ephy-application.c')
-rw-r--r-- | src/ephy-application.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ephy-application.c b/src/ephy-application.c index c6c3a544a..a3235f8a6 100644 --- a/src/ephy-application.c +++ b/src/ephy-application.c @@ -402,9 +402,14 @@ ephy_application_finalize (GObject *object) EphyApplication * ephy_application_new (gboolean private_instance) { + GApplicationFlags flags = G_APPLICATION_FLAGS_NONE; + + if (private_instance) + flags |= G_APPLICATION_NON_UNIQUE; + return g_object_new (EPHY_TYPE_APPLICATION, "application-id", "org.gnome.Epiphany", - "flags", G_APPLICATION_FLAGS_NONE, + "flags", flags, "private-instance", private_instance, NULL); } |