aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/contact-editor
diff options
context:
space:
mode:
authorLauris Kaplinski <lauris@src.gnome.org>2000-09-02 10:51:32 +0800
committerLauris Kaplinski <lauris@src.gnome.org>2000-09-02 10:51:32 +0800
commite8ae4bc97abed6ad8571908f5fc4ac6fd5565fde (patch)
treee81cd450c3094cf33bbda8d65508b6edd5654625 /addressbook/contact-editor
parent16829497fd3a11bae35aaa440ee18ede4961ceb9 (diff)
downloadgsoc2013-evolution-e8ae4bc97abed6ad8571908f5fc4ac6fd5565fde.tar.gz
gsoc2013-evolution-e8ae4bc97abed6ad8571908f5fc4ac6fd5565fde.tar.zst
gsoc2013-evolution-e8ae4bc97abed6ad8571908f5fc4ac6fd5565fde.zip
A bit more e_utf8 wrappers here and there
svn path=/trunk/; revision=5180
Diffstat (limited to 'addressbook/contact-editor')
-rw-r--r--addressbook/contact-editor/e-contact-editor-categories.c6
-rw-r--r--addressbook/contact-editor/e-contact-editor.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/addressbook/contact-editor/e-contact-editor-categories.c b/addressbook/contact-editor/e-contact-editor-categories.c
index 9251a86948..118f08a2a3 100644
--- a/addressbook/contact-editor/e-contact-editor-categories.c
+++ b/addressbook/contact-editor/e-contact-editor-categories.c
@@ -218,7 +218,7 @@ e_contact_editor_categories_entry_change (GtkWidget *entry,
EContactEditorCategories *categories)
{
g_free(categories->categories);
- categories->categories = g_strdup(gtk_entry_get_text(GTK_ENTRY(entry)));
+ categories->categories = e_utf8_gtk_entry_get_text(GTK_ENTRY(entry));
do_parse_categories(categories);
}
@@ -342,7 +342,7 @@ e_contact_editor_categories_set_arg (GtkObject *o, GtkArg *arg, guint arg_id)
switch (arg_id){
case ARG_CATEGORIES:
- gtk_entry_set_text(GTK_ENTRY(e_contact_editor_categories->entry), GTK_VALUE_STRING (*arg));
+ e_utf8_gtk_entry_set_text(GTK_ENTRY(e_contact_editor_categories->entry), GTK_VALUE_STRING (*arg));
break;
}
}
@@ -407,7 +407,7 @@ e_contact_editor_categories_set_value_at (ETableModel *etc, int col, int row, co
}
strs[j] = 0;
string = g_strjoinv(", ", strs);
- gtk_entry_set_text(GTK_ENTRY(categories->entry), string);
+ e_utf8_gtk_entry_set_text(GTK_ENTRY(categories->entry), string);
g_free(string);
g_free(strs);
}
diff --git a/addressbook/contact-editor/e-contact-editor.c b/addressbook/contact-editor/e-contact-editor.c
index aa9b1ff9c9..c2d4450a7b 100644
--- a/addressbook/contact-editor/e-contact-editor.c
+++ b/addressbook/contact-editor/e-contact-editor.c
@@ -359,8 +359,8 @@ file_as_set_style(EContactEditor *editor, int style)
if (style == -1) {
- string = gtk_entry_get_text(file_as);
- strings = g_list_append(strings, g_strdup(string));
+ string = e_utf8_gtk_entry_get_text(file_as);
+ strings = g_list_append(strings, string);
}
widget = glade_xml_get_widget(editor->gui, "combo-file-as");