aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
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
parentb4afa536b35bd34334314f937bf784a8ea627b20 (diff)
downloadgsoc2013-evolution-6f1ef0ffdd957568425ffb1d4e07f57b137573ae.tar.gz
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')
-rw-r--r--widgets/ChangeLog6
-rw-r--r--widgets/e-timezone-dialog/e-timezone-dialog.c2
-rw-r--r--widgets/e-timezone-dialog/e-timezone-dialog.h2
3 files changed, 8 insertions, 2 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog
index 6a3a93ae75..8ad855ab86 100644
--- a/widgets/ChangeLog
+++ b/widgets/ChangeLog
@@ -1,3 +1,9 @@
+2002-11-03 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-timezone-dialog/e-timezone-dialog.c
+ (e_timezone_dialog_get_builtin_timezone): Constify arg
+ display_name.
+
2002-11-01 Ettore Perazzoli <ettore@ximian.com>
* menus/gal-view-menus.c (build_stuff): Add some casts.
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);