aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/cal-prefs-dialog.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c
index f88ecd89cd..a626ce8f1d 100644
--- a/calendar/gui/dialogs/cal-prefs-dialog.c
+++ b/calendar/gui/dialogs/cal-prefs-dialog.c
@@ -33,6 +33,7 @@
#include "cal-prefs-dialog.h"
#include <widgets/misc/e-dateedit.h>
#include <e-util/e-dialog-widgets.h>
+#include <e-util/e-util-private.h>
#include <libgnome/gnome-i18n.h>
#include <string.h>
@@ -497,8 +498,13 @@ calendar_prefs_dialog_construct (CalendarPrefsDialog *prefs)
"fri_button",
"sat_button",
};
+ char *gladefile;
- gui = glade_xml_new (EVOLUTION_GLADEDIR "/cal-prefs-dialog.glade", "toplevel-notebook", NULL);
+ gladefile = g_build_filename (EVOLUTION_GLADEDIR,
+ "cal-prefs-dialog.glade",
+ NULL);
+ gui = glade_xml_new (gladefile, "toplevel-notebook", NULL);
+ g_free (gladefile);
prefs->gui = gui;
prefs->gconf = gconf_client_get_default ();