aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-dbus.c7
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0de371677..a5d45544c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-01-22 Jean-François Rameau <jframeau@cvs.gnome.org>
+
+ * src/ephy-dbus.c: (ephy_dbus_shutdown):
+
+ Remove both session/system filters before finalizing EphyDbus object.
+ Fix #327845.
+
2006-01-22 Peter Harvey <peter.a.harvey@gmail.com>
* src/bookmarks/ephy-bookmark-action.c
diff --git a/src/ephy-dbus.c b/src/ephy-dbus.c
index 90d2d38c3..cdef34752 100644
--- a/src/ephy-dbus.c
+++ b/src/ephy-dbus.c
@@ -349,7 +349,14 @@ ephy_dbus_shutdown (EphyDbus *dbus)
dbus->priv->reconnect_timeout_id = 0;
}
+ dbus_connection_remove_filter
+ (dbus_g_connection_get_connection (dbus->priv->session_bus),
+ session_filter_func, dbus);
ephy_dbus_disconnect_bus (dbus->priv->session_bus);
+
+ dbus_connection_remove_filter
+ (dbus_g_connection_get_connection (dbus->priv->system_bus),
+ system_filter_func, dbus);
ephy_dbus_disconnect_bus (dbus->priv->system_bus);
}