aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-timezone-dialog
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-04 00:16:31 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-04 00:16:31 +0800
commit6f1ef0ffdd957568425ffb1d4e07f57b137573ae (patch)
tree98ef015adedf9f08640e96f57290752909d1c406 /widgets/e-timezone-dialog
parentb4afa536b35bd34334314f937bf784a8ea627b20 (diff)
downloadgsoc2013-evolution-6f1ef0ffdd957568425ffb1d4e07f57b137573ae.tar
gsoc2013-evolution-6f1ef0ffdd957568425ffb1d4e07f57b137573ae.tar.gz
gsoc2013-evolution-6f1ef0ffdd957568425ffb1d4e07f57b137573ae.tar.bz2
gsoc2013-evolution-6f1ef0ffdd957568425ffb1d4e07f57b137573ae.tar.lz
gsoc2013-evolution-6f1ef0ffdd957568425ffb1d4e07f57b137573ae.tar.xz
gsoc2013-evolution-6f1ef0ffdd957568425ffb1d4e07f57b137573ae.tar.zst
gsoc2013-evolution-6f1ef0ffdd957568425ffb1d4e07f57b137573ae.zip
(e_timezone_dialog_get_builtin_timezone): Constify arg
display_name. svn path=/trunk/; revision=18508
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);