aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-06-05 20:48:29 +0800
committerMilan Crha <mcrha@redhat.com>2009-06-05 20:50:42 +0800
commit84c55f4e983c4458a08f9bd19fe63b3fd7af2fa7 (patch)
treec6cb7ea33f0ef3424cc060d4d1b79287f8dd0a10 /shell
parenta979826a00beebd29850445ff2a27187946fade1 (diff)
downloadgsoc2013-evolution-84c55f4e983c4458a08f9bd19fe63b3fd7af2fa7.tar
gsoc2013-evolution-84c55f4e983c4458a08f9bd19fe63b3fd7af2fa7.tar.gz
gsoc2013-evolution-84c55f4e983c4458a08f9bd19fe63b3fd7af2fa7.tar.bz2
gsoc2013-evolution-84c55f4e983c4458a08f9bd19fe63b3fd7af2fa7.tar.lz
gsoc2013-evolution-84c55f4e983c4458a08f9bd19fe63b3fd7af2fa7.tar.xz
gsoc2013-evolution-84c55f4e983c4458a08f9bd19fe63b3fd7af2fa7.tar.zst
gsoc2013-evolution-84c55f4e983c4458a08f9bd19fe63b3fd7af2fa7.zip
Fix even more compiler warnings and disable one for format strings
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index 6e8215c63e..685b5a822f 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -51,7 +51,7 @@
#include <string.h>
-#if NM_SUPPORT
+#if defined(NM_SUPPORT) && NM_SUPPORT
gboolean e_shell_dbus_initialise (EShell *shell);
#endif
@@ -572,7 +572,7 @@ setup_statusbar_notebook (EShellWindow *window)
static void
setup_nm_support (EShellWindow *window)
{
-#if NM_SUPPORT
+#if defined(NM_SUPPORT) && NM_SUPPORT
e_shell_dbus_initialise (window->priv->shell.eshell);
#endif
}