aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r--shell/e-shell-window.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index c533967c77..5319acb3d2 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -54,7 +54,7 @@
#include <string.h>
#if NM_SUPPORT
-gboolean e_shell_dbus_initialise (EShellWindow *window);
+gboolean e_shell_dbus_initialise (EShell *shell);
#endif
/* A view for each component. These are all created when EShellWindow is
@@ -574,11 +574,9 @@ setup_statusbar_notebook (EShellWindow *window)
static void
setup_nm_support (EShellWindow *window)
{
- #ifdef NM_SUPPORT_GLIB
- e_shell_nm_glib_initialise (window);
- #elif NM_SUPPORT
- e_shell_dbus_initialise (window);
- #endif
+#if NM_SUPPORT
+ e_shell_dbus_initialise (window->priv->shell.eshell);
+#endif
}
static void