From d97ab45f5c7cbb335b1b6ebf88ee58066ef5d3b7 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 11 Nov 2009 18:21:44 +0200 Subject: Fix Windows build There was a strange typo, e_util_replace_prefix() is what was intended. Thus include libedataserver/e-data-server-util.h. --- modules/plugin-lib/Makefile.am | 1 + modules/plugin-lib/e-plugin-lib.c | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/plugin-lib') 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 /* for e_util_replace_prefix() */ +#endif + #include 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); -- cgit v1.2.3