Commit 73f27df2 authored by Milan Crha's avatar Milan Crha

Address a compiler warning about ENABLE_MAINTAINER_MODE

This is shown only when the maintainer mode is off. It should
be '#ifdef', instead of '#if', of course.
parent ffe818d8
......@@ -908,7 +908,7 @@ web_view_constructor (GType type,
webkit_web_context_set_web_extensions_directory (web_context, EVOLUTION_WEB_EXTENSIONS_DIR);
webkit_web_context_set_sandbox_enabled (web_context, TRUE);
webkit_web_context_add_path_to_sandbox (web_context, EVOLUTION_WEBKITDATADIR, TRUE);
#if ENABLE_MAINTAINER_MODE
#ifdef ENABLE_MAINTAINER_MODE
webkit_web_context_add_path_to_sandbox (web_context, EVOLUTION_SOURCE_WEBKITDATADIR, TRUE);
#endif
......
......@@ -4200,7 +4200,7 @@ webkit_editor_constructor (GType type,
webkit_web_context_set_web_extensions_directory (web_context, EVOLUTION_WEB_EXTENSIONS_WEBKIT_EDITOR_DIR);
webkit_web_context_set_sandbox_enabled (web_context, TRUE);
webkit_web_context_add_path_to_sandbox (web_context, EVOLUTION_WEBKITDATADIR, TRUE);
#if ENABLE_MAINTAINER_MODE
#ifdef ENABLE_MAINTAINER_MODE
webkit_web_context_add_path_to_sandbox (web_context, EVOLUTION_SOURCE_WEBKITDATADIR, TRUE);
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment