aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-timezone-dialog
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-timezone-dialog')
-rw-r--r--widgets/e-timezone-dialog/e-timezone-dialog.c2
-rw-r--r--widgets/e-timezone-dialog/e-timezone-dialog.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/widgets/e-timezone-dialog/e-timezone-dialog.c b/widgets/e-timezone-dialog/e-timezone-dialog.c
index fa2b994012..88f2af67de 100644
--- a/widgets/e-timezone-dialog/e-timezone-dialog.c
+++ b/widgets/e-timezone-dialog/e-timezone-dialog.c
@@ -688,7 +688,7 @@ e_timezone_dialog_reparent (ETimezoneDialog *etd,
the translated location, e.g. 'Europe/London', in the locale's encoding.
If display_name is NULL or "" it returns NULL. */
icaltimezone*
-e_timezone_dialog_get_builtin_timezone (char *display_name)
+e_timezone_dialog_get_builtin_timezone (const char *display_name)
{
icalarray *zones;
int i;
diff --git a/widgets/e-timezone-dialog/e-timezone-dialog.h b/widgets/e-timezone-dialog/e-timezone-dialog.h
index f81791bb6f..d261189588 100644
--- a/widgets/e-timezone-dialog/e-timezone-dialog.h
+++ b/widgets/e-timezone-dialog/e-timezone-dialog.h
@@ -82,7 +82,7 @@ void e_timezone_dialog_reparent (ETimezoneDialog *etd,
/* Returns the builtin timezone corresponding to display_name, which is
the translated location, e.g. 'Europe/London', in the GTK+ encoding.
If display_name is NULL or "" it returns NULL. */
-icaltimezone* e_timezone_dialog_get_builtin_timezone (char *display_name);
+icaltimezone *e_timezone_dialog_get_builtin_timezone (const char *display_name);