From c6612c8d03bc4c1a45d92b5d94dce57fbb8d49a8 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 27 Jul 2006 09:42:18 +0000 Subject: Fix warnings at build-time, and clean up the connections to the D-Bus on 2006-07-27 Bastien Nocera * e-shell-nm-glib.c: (e_shell_glib_network_monitor), (e_shell_nm_glib_initialise), (e_shell_nm_glib_dispose): * e-shell-nm.c: (e_shell_dbus_dispose): * e-shell-window.c: (impl_dispose): Fix warnings at build-time, and clean up the connections to the D-Bus on exit (Closes: #332387) svn path=/trunk/; revision=32425 --- shell/e-shell-window.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'shell/e-shell-window.c') diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c index bdf599906f..e5fc700ab0 100644 --- a/shell/e-shell-window.c +++ b/shell/e-shell-window.c @@ -844,6 +844,12 @@ impl_dispose (GObject *object) priv->tooltips = NULL; } + #ifdef NM_SUPPORT_GLIB + e_shell_nm_glib_dispose (E_SHELL_WINDOW (object)); + #elif NM_SUPPORT + e_shell_dbus_dispose (E_SHELL_WINDOW (object)); + #endif + (* G_OBJECT_CLASS (e_shell_window_parent_class)->dispose) (object); } -- cgit v1.2.3