aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-timezone-entry.c
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-02-23 14:49:31 +0800
committerHans Petter <hansp@src.gnome.org>2003-02-23 14:49:31 +0800
commit1f36e43b9464195715f676104bcf47edd9630ba3 (patch)
treeb4358d340c03d065b170f7f0c535cd622d80be1f /calendar/gui/e-timezone-entry.c
parenteea8bc47ec3b8fc60ac9d35a160f05f84ad96604 (diff)
downloadgsoc2013-evolution-1f36e43b9464195715f676104bcf47edd9630ba3.tar
gsoc2013-evolution-1f36e43b9464195715f676104bcf47edd9630ba3.tar.gz
gsoc2013-evolution-1f36e43b9464195715f676104bcf47edd9630ba3.tar.bz2
gsoc2013-evolution-1f36e43b9464195715f676104bcf47edd9630ba3.tar.lz
gsoc2013-evolution-1f36e43b9464195715f676104bcf47edd9630ba3.tar.xz
gsoc2013-evolution-1f36e43b9464195715f676104bcf47edd9630ba3.tar.zst
gsoc2013-evolution-1f36e43b9464195715f676104bcf47edd9630ba3.zip
Eliminate e_utf8_to_gtk_string ().
2003-02-23 Hans Petter Jansson <hpj@ximian.com> * gui/cal-search-bar.c (make_suboptions): Eliminate e_utf8_to_gtk_string (). * gui/e-timezone-entry.c (e_timezone_entry_get_display_name): Ditto. * gui/calendar-model.c (date_value_to_string): e_utf8_from_locale_string () -> g_locale_to_utf8 (). (calendar_model_value_to_string): Ditto. * gui/e-cell-date-edit-text.c (ecd_get_text): Ditto. * gui/e-itip-control.c (write_label_piece): Ditto. * gui/print.c (format_date): Ditto. (print_week_view_background): Ditto. (print_month_summary): Ditto. (print_date_label): Ditto. (print_comp_item): Ditto. * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): Ditto. svn path=/trunk/; revision=20008
Diffstat (limited to 'calendar/gui/e-timezone-entry.c')
-rw-r--r--calendar/gui/e-timezone-entry.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/calendar/gui/e-timezone-entry.c b/calendar/gui/e-timezone-entry.c
index 7f5c36600b..89116212f6 100644
--- a/calendar/gui/e-timezone-entry.c
+++ b/calendar/gui/e-timezone-entry.c
@@ -309,12 +309,11 @@ e_timezone_entry_get_display_name (ETimezoneEntry *tentry,
/* We check if it is one of our builtin timezone names, in which case
we call gettext to translate it. If it isn't a builtin timezone
- name, we need to convert it to the GTK+ encoding. */
+ name, we don't. */
if (icaltimezone_get_builtin_timezone (display_name)) {
return g_strdup (_(display_name));
} else {
- return e_utf8_to_gtk_string (GTK_WIDGET (tentry),
- display_name);
+ return g_strdup (display_name);
}
}