aboutsummaryrefslogtreecommitdiffstats
path: root/modules/plugin-lib/e-plugin-lib.c
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 /modules/plugin-lib/e-plugin-lib.c
parente210c876f56c846f949fb3b1554dbaf0806c32c5 (diff)
downloadgsoc2013-evolution-d97ab45f5c7cbb335b1b6ebf88ee58066ef5d3b7.tar.gz
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.
Diffstat (limited to 'modules/plugin-lib/e-plugin-lib.c')
-rw-r--r--modules/plugin-lib/e-plugin-lib.c6
1 files changed, 5 insertions, 1 deletions
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);