aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-dbus.c
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2006-01-22 07:04:59 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2006-01-22 07:04:59 +0800
commit3f95db7b9894d8c0d0d0c505be6b58cd93cec6ad (patch)
tree4d95386cc2c7e94f281d3108bfa35b6b2426e1c2 /src/ephy-dbus.c
parent3eccb1ab3f34e2e83a6f356fb787d99726b7c3ad (diff)
downloadgsoc2013-epiphany-3f95db7b9894d8c0d0d0c505be6b58cd93cec6ad.tar
gsoc2013-epiphany-3f95db7b9894d8c0d0d0c505be6b58cd93cec6ad.tar.gz
gsoc2013-epiphany-3f95db7b9894d8c0d0d0c505be6b58cd93cec6ad.tar.bz2
gsoc2013-epiphany-3f95db7b9894d8c0d0d0c505be6b58cd93cec6ad.tar.lz
gsoc2013-epiphany-3f95db7b9894d8c0d0d0c505be6b58cd93cec6ad.tar.xz
gsoc2013-epiphany-3f95db7b9894d8c0d0d0c505be6b58cd93cec6ad.tar.zst
gsoc2013-epiphany-3f95db7b9894d8c0d0d0c505be6b58cd93cec6ad.zip
Remove both session/system filters before finalizing EphyDbus object. Fix
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.
Diffstat (limited to 'src/ephy-dbus.c')
-rw-r--r--src/ephy-dbus.c7
1 files changed, 7 insertions, 0 deletions
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);
}