aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-dbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-dbus.c')
-rw-r--r--src/ephy-dbus.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ephy-dbus.c b/src/ephy-dbus.c
index 1cbed58da..8f7106383 100644
--- a/src/ephy-dbus.c
+++ b/src/ephy-dbus.c
@@ -173,6 +173,10 @@ ephy_dbus_connect_to_system_bus (EphyDbus *ephy_dbus)
return;
}
+ dbus_connection_set_exit_on_disconnect
+ (dbus_g_connection_get_connection (ephy_dbus->priv->system_bus),
+ FALSE);
+
dbus_connection_add_filter
(dbus_g_connection_get_connection (ephy_dbus->priv->system_bus),
system_filter_func, ephy_dbus, NULL);
@@ -218,6 +222,10 @@ ephy_dbus_connect_to_session_bus (EphyDbus *ephy_dbus)
return;
}
+ dbus_connection_set_exit_on_disconnect
+ (dbus_g_connection_get_connection (ephy_dbus->priv->system_bus),
+ FALSE);
+
dbus_connection_add_filter
(dbus_g_connection_get_connection (ephy_dbus->priv->session_bus),
session_filter_func, ephy_dbus, NULL);