diff options
author | Not Zed <NotZed@Ximian.com> | 2005-08-24 11:06:51 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-08-24 11:06:51 +0800 |
commit | 754a294a700dcc3e18056efe8dd5a8bc8d1c97e7 (patch) | |
tree | 576c85164b2300ff3ffb0d09de359d14e4491801 /addressbook/gui/contact-list-editor/e-contact-list-editor.c | |
parent | 6c7d2845a47bed10293552f2082b239945ffcaea (diff) | |
download | gsoc2013-evolution-754a294a700dcc3e18056efe8dd5a8bc8d1c97e7.tar.gz gsoc2013-evolution-754a294a700dcc3e18056efe8dd5a8bc8d1c97e7.tar.zst gsoc2013-evolution-754a294a700dcc3e18056efe8dd5a8bc8d1c97e7.zip |
de-constify uri, and fix its creation logic. (load_source_cb): cast for
2005-08-23 Not Zed <NotZed@Ximian.com>
* gui/component/addressbook.c (addressbook_authenticate):
de-constify uri, and fix its creation logic.
(load_source_cb): cast for warning.
* gui/widgets/e-addressbook-view.c: more missing a11y include.
* gui/widgets/e-minicard-view.c: another missing a11y include.
* gui/widgets/e-minicard.c: include missing a11y include.
(e_minicard_activate_editor): fix cast.
* gui/widgets/eab-popup-control.c (eab_popup_control_display_contact): remove unused.
* gui/widgets/eab-gui-util.c (eab_contact_save): fix conditional build.
(eab_send_to_contact_and_email_num_list): fix boolean conversion.
* gui/widgets/eab-contact-display.c (eab_contact_display_init): cast.
* gui/contact-list-editor/e-contact-list-editor.c (fill_in_info): constify file_as.
* gui/contact-editor/e-contact-editor.c (init_im_record_location):
fix warnings for conditional building.
(fill_in_simple_field): do proper boolean conversion.
(extract_simple_field): do proper boolean conversion.
(response): constify categories, and dont bother initialising it.
(image_clicked): remove warnings for conditional build.
(e_contact_editor_is_valid): constify text.
(e_contact_editor_create_web): cast.
svn path=/trunk/; revision=30216
Diffstat (limited to 'addressbook/gui/contact-list-editor/e-contact-list-editor.c')
-rw-r--r-- | addressbook/gui/contact-list-editor/e-contact-list-editor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c index a8424814e0..040dbb6b9a 100644 --- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c +++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c @@ -1053,7 +1053,7 @@ fill_in_info(EContactListEditor *editor) { if (editor->contact) { EContactPhoto *photo; - char *file_as; + const char *file_as; gboolean show_addresses = FALSE; gboolean is_evolution_list = FALSE; GList *email_list; @@ -1067,8 +1067,8 @@ fill_in_info(EContactListEditor *editor) gtk_editable_delete_text (GTK_EDITABLE (editor->list_name_entry), 0, -1); if (file_as) { int position = 0; + gtk_editable_insert_text (GTK_EDITABLE (editor->list_name_entry), file_as, strlen (file_as), &position); - g_free (file_as); } gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(editor->visible_addrs_checkbutton), !show_addresses); |