aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-subscribe-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-subscribe-editor.c')
-rw-r--r--mail/em-subscribe-editor.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/em-subscribe-editor.c b/mail/em-subscribe-editor.c
index 205776e858..51dd4a2404 100644
--- a/mail/em-subscribe-editor.c
+++ b/mail/em-subscribe-editor.c
@@ -37,6 +37,7 @@
#include "camel/camel-store.h"
#include "camel/camel-session.h"
#include "e-util/e-account-list.h"
+#include "e-util/e-util-private.h"
#include "em-subscribe-editor.h"
@@ -835,11 +836,17 @@ GtkDialog *em_subscribe_editor_new(void)
EIterator *iter;
GladeXML *xml;
GtkWidget *menu, *w;
+ char *gladefile;
se = g_malloc0(sizeof(*se));
e_dlist_init(&se->stores);
- xml = glade_xml_new (EVOLUTION_GLADEDIR "/mail-dialogs.glade", "subscribe_dialog", NULL);
+ gladefile = g_build_filename (EVOLUTION_GLADEDIR,
+ "mail-dialogs.glade",
+ NULL);
+ xml = glade_xml_new (gladefile, "subscribe_dialog", NULL);
+ g_free (gladefile);
+
if (xml == NULL) {
/* ?? */
return NULL;