diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2003-02-23 14:49:31 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-02-23 14:49:31 +0800 |
commit | 1f36e43b9464195715f676104bcf47edd9630ba3 (patch) | |
tree | b4358d340c03d065b170f7f0c535cd622d80be1f /calendar/gui/cal-search-bar.c | |
parent | eea8bc47ec3b8fc60ac9d35a160f05f84ad96604 (diff) | |
download | gsoc2013-evolution-1f36e43b9464195715f676104bcf47edd9630ba3.tar.gz 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/cal-search-bar.c')
-rw-r--r-- | calendar/gui/cal-search-bar.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/gui/cal-search-bar.c b/calendar/gui/cal-search-bar.c index 4201442914..e5c64aaa72 100644 --- a/calendar/gui/cal-search-bar.c +++ b/calendar/gui/cal-search-bar.c @@ -368,9 +368,7 @@ make_suboptions (CalSearchBar *cal_search) char *str; category = priv->categories->pdata[i]; - str = e_utf8_to_gtk_string (GTK_WIDGET (cal_search), category); - if (!str) - str = g_strdup (""); + str = g_strdup (category ? category : ""); subitems[i + CATEGORIES_OFFSET].text = str; subitems[i + CATEGORIES_OFFSET].id = i + CATEGORIES_OFFSET; |