aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-editor-fullname.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-26 21:18:54 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-26 21:18:54 +0800
commitf8730610042229f275a5a294df4c2eb5f225118e (patch)
treeef36b4df5144619db1c4f0f3d207af7645f77bc4 /addressbook/gui/contact-editor/e-contact-editor-fullname.c
parente4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed (diff)
downloadgsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar
gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.gz
gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.bz2
gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.lz
gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.xz
gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.zst
gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.zip
Fix compiler warnings in addressbook.
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor-fullname.c')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor-fullname.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor-fullname.c b/addressbook/gui/contact-editor/e-contact-editor-fullname.c
index bbe9ece7ba..c2194e8b8c 100644
--- a/addressbook/gui/contact-editor/e-contact-editor-fullname.c
+++ b/addressbook/gui/contact-editor/e-contact-editor-fullname.c
@@ -190,7 +190,7 @@ e_contact_editor_fullname_set_property (GObject *object, guint prop_id,
break;
case PROP_EDITABLE: {
int i;
- char *widget_names[] = {
+ const gchar *widget_names[] = {
"comboentry-title",
"comboentry-suffix",
"entry-first",
@@ -250,7 +250,9 @@ e_contact_editor_fullname_get_property (GObject *object, guint prop_id,
}
static void
-fill_in_field(EContactEditorFullname *editor, char *field, char *string)
+fill_in_field (EContactEditorFullname *editor,
+ const gchar *field,
+ const gchar *string)
{
GtkWidget *widget = glade_xml_get_widget (editor->gui, field);
GtkEntry *entry = NULL;
@@ -282,7 +284,8 @@ fill_in_info(EContactEditorFullname *editor)
}
static char *
-extract_field(EContactEditorFullname *editor, char *field)
+extract_field (EContactEditorFullname *editor,
+ const gchar *field)
{
GtkWidget *widget = glade_xml_get_widget(editor->gui, field);
GtkEntry *entry = NULL;