aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-window-private.c2
-rw-r--r--shell/main.c5
2 files changed, 6 insertions, 1 deletions
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index 67612063e6..7a84b2e118 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -260,9 +260,9 @@ e_shell_window_private_constructed (EShellWindow *shell_window)
GtkWindow *window;
guint merge_id;
const gchar *id;
+ GSettings *settings;
#ifndef G_OS_WIN32
- GSettings *settings;
GtkActionGroup *action_group;
#endif
diff --git a/shell/main.c b/shell/main.c
index 3125cd55b2..62d24561f3 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -38,7 +38,9 @@
#ifdef DATADIR
#undef DATADIR
#endif
+#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0601
+#endif
#include <windows.h>
#include <conio.h>
#include <io.h>
@@ -48,6 +50,9 @@
#ifndef PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION
#define PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION 0x00000002
#endif
+
+#include "e-util/e-util-private.h"
+
#endif
#include <libxml/xmlmemory.h>