aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2009-11-12 00:21:44 +0800
committerTor Lillqvist <tml@iki.fi>2009-11-12 00:24:48 +0800
commitd97ab45f5c7cbb335b1b6ebf88ee58066ef5d3b7 (patch)
treeee13fdff1cc86ffd456f087e02bfeb42febe52df
parente210c876f56c846f949fb3b1554dbaf0806c32c5 (diff)
downloadgsoc2013-evolution-d97ab45f5c7cbb335b1b6ebf88ee58066ef5d3b7.tar
gsoc2013-evolution-d97ab45f5c7cbb335b1b6ebf88ee58066ef5d3b7.tar.gz
gsoc2013-evolution-d97ab45f5c7cbb335b1b6ebf88ee58066ef5d3b7.tar.bz2
gsoc2013-evolution-d97ab45f5c7cbb335b1b6ebf88ee58066ef5d3b7.tar.lz
gsoc2013-evolution-d97ab45f5c7cbb335b1b6ebf88ee58066ef5d3b7.tar.xz
gsoc2013-evolution-d97ab45f5c7cbb335b1b6ebf88ee58066ef5d3b7.tar.zst
gsoc2013-evolution-d97ab45f5c7cbb335b1b6ebf88ee58066ef5d3b7.zip
Fix Windows build
There was a strange typo, e_util_replace_prefix() is what was intended. Thus include libedataserver/e-data-server-util.h.
-rw-r--r--modules/plugin-lib/Makefile.am1
-rw-r--r--modules/plugin-lib/e-plugin-lib.c6
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/plugin-lib/Makefile.am b/modules/plugin-lib/Makefile.am
index 73c4c8f673..b958a9ab42 100644
--- a/modules/plugin-lib/Makefile.am
+++ b/modules/plugin-lib/Makefile.am
@@ -4,6 +4,7 @@ libevolution_module_plugin_lib_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
-DG_LOG_DOMAIN=\"evolution-plugin-lib\" \
-I$(top_srcdir) \
+ -DEVOLUTION_PREFIX=\""$(prefix)"\" \
$(E_UTIL_CFLAGS)
libevolution_module_plugin_lib_la_SOURCES = \
diff --git a/modules/plugin-lib/e-plugin-lib.c b/modules/plugin-lib/e-plugin-lib.c
index 7b72053e45..1cade4b06d 100644
--- a/modules/plugin-lib/e-plugin-lib.c
+++ b/modules/plugin-lib/e-plugin-lib.c
@@ -21,6 +21,10 @@
#include "e-plugin-lib.h"
+#ifdef G_OS_WIN32
+#include <libedataserver/e-data-server-util.h> /* for e_util_replace_prefix() */
+#endif
+
#include <string.h>
static gpointer parent_class;
@@ -122,7 +126,7 @@ plugin_lib_construct (EPlugin *plugin, xmlNodePtr root)
#ifdef G_OS_WIN32
{
gchar *mapped_location =
- e_util_rplugin_libace_prefix (EVOLUTION_PREFIX,
+ e_util_replace_prefix (EVOLUTION_PREFIX,
e_util_get_prefix (),
plugin_lib->location);
g_free (plugin_lib->location);