diff options
-rw-r--r-- | widgets/ChangeLog | 6 | ||||
-rw-r--r-- | widgets/e-timezone-dialog/e-timezone-dialog.c | 2 | ||||
-rw-r--r-- | widgets/e-timezone-dialog/e-timezone-dialog.h | 2 |
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); |