aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/memo-page.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/memo-page.c')
-rw-r--r--calendar/gui/dialogs/memo-page.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c
index 0a2644b699..c7682f13f9 100644
--- a/calendar/gui/dialogs/memo-page.c
+++ b/calendar/gui/dialogs/memo-page.c
@@ -41,6 +41,7 @@
#include "common/authentication.h"
#include "e-util/e-dialog-widgets.h"
#include "e-util/e-categories-config.h"
+#include "e-util/e-util-private.h"
#include "../calendar-config.h"
#include "comp-editor.h"
#include "comp-editor-util.h"
@@ -550,11 +551,16 @@ MemoPage *
memo_page_construct (MemoPage *tpage)
{
MemoPagePrivate *priv;
+ char *gladefile;
priv = tpage->priv;
- priv->xml = glade_xml_new (EVOLUTION_GLADEDIR "/memo-page.glade",
- NULL, NULL);
+ gladefile = g_build_filename (EVOLUTION_GLADEDIR,
+ "memo-page.glade",
+ NULL);
+ priv->xml = glade_xml_new (gladefile, NULL, NULL);
+ g_free (gladefile);
+
if (!priv->xml) {
g_message ("memo_page_construct(): "
"Could not load the Glade XML file!");