diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/ephy-dbus.c | 7 |
2 files changed, 14 insertions, 0 deletions
@@ -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); } |