aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-prefs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-account-prefs.c')
-rw-r--r--mail/em-account-prefs.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/em-account-prefs.c b/mail/em-account-prefs.c
index a3c2256525..0f9f37e7ee 100644
--- a/mail/em-account-prefs.c
+++ b/mail/em-account-prefs.c
@@ -42,6 +42,7 @@
#include "e-util/e-account-list.h"
#include "e-util/e-error.h"
+#include "e-util/e-util-private.h"
#include "em-account-prefs.h"
@@ -537,8 +538,14 @@ em_account_prefs_construct (EMAccountPrefs *prefs)
GtkWidget *toplevel, *widget;
GtkCellRenderer *renderer;
GladeXML *gui;
+ char *gladefile;
- gui = glade_xml_new (EVOLUTION_GLADEDIR "/mail-config.glade", "accounts_tab", NULL);
+ gladefile = g_build_filename (EVOLUTION_GLADEDIR,
+ "mail-config.glade",
+ NULL);
+ gui = glade_xml_new (gladefile, "accounts_tab", NULL);
+ g_free (gladefile);
+
prefs->gui = gui;
/* get our toplevel widget */