diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2007-06-03 11:10:56 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-06-03 11:10:56 +0800 |
commit | af52113f2f8b934664a233a3a5dd1544dd347638 (patch) | |
tree | 43beeca5a8b04f9f90e357b8322f4a1379925254 /addressbook/gui/contact-editor/e-contact-editor.c | |
parent | 2ba6ef0e2b7d01f3e110bdc69950712b8a3e598b (diff) | |
download | gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar.gz gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar.bz2 gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar.lz gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar.xz gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar.zst gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.zip |
Fix compiler warnings in addressbook folder. (#440272)
svn path=/trunk/; revision=33630
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor.c')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 64965e9590..9f35370fa9 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -2191,7 +2191,7 @@ fill_in_simple_field (EContactEditor *editor, GtkWidget *widget, gint field_id) EContactPhoto *photo = e_contact_get (contact, field_id); if (photo && photo->type == E_CONTACT_PHOTO_TYPE_INLINED) { e_image_chooser_set_image_data (E_IMAGE_CHOOSER (widget), - photo->data.inlined.data, + (char *)photo->data.inlined.data, photo->data.inlined.length); editor->image_set = TRUE; } @@ -2247,9 +2247,9 @@ extract_simple_field (EContactEditor *editor, GtkWidget *widget, gint field_id) else if (E_IS_DATE_EDIT (widget)) { EContactDate date; if (e_date_edit_get_date (E_DATE_EDIT (widget), - &date.year, - &date.month, - &date.day)) + (int *)&date.year, + (int *)&date.month, + (int *)&date.day)) e_contact_set (contact, field_id, &date); else e_contact_set (contact, field_id, NULL); |