+2005-07-05 Sushma Rai <rsushma@novell.com>
+
+ * libebook/e-contact.[ch]: Using gconstpointer instead of
+ const gpointer for return value of e_contact_get_const(). Fixes #309175.
+
2005-07-04 Sushma Rai <rsushma@novell.com>
* libedata-book/e-book-backend-sexp.c (prop_info_table[]): Added
else if (info->t & E_CONTACT_FIELD_TYPE_SYNTHETIC) {
switch (info->field_id) {
case E_CONTACT_NAME_OR_ORG: {
- char *str;
+ const char *str;
str = e_contact_get_const (contact, E_CONTACT_FILE_AS);
if (!str)
*
* Return value: Depends on the field's type, owned by the #EContact.
**/
-const gpointer
+gconstpointer
e_contact_get_const (EContact *contact, EContactField field_id)
{
gboolean is_string = FALSE;
EContact* e_contact_duplicate (EContact *contact);
gpointer e_contact_get (EContact *contact, EContactField field_id);
-const gpointer e_contact_get_const (EContact *contact, EContactField field_id);
+gconstpointer e_contact_get_const (EContact *contact, EContactField field_id);
void e_contact_set (EContact *contact, EContactField field_id, gpointer value);
/* the following two calls return and take a GList of