diff options
author | yunju06lee <yunju06.lee@samsung.com> | 2013-04-17 16:38:24 +0900 |
---|---|---|
committer | yunju06lee <yunju06.lee@samsung.com> | 2013-04-17 16:38:24 +0900 |
commit | 8d8a4039a4a1632d852793e39a87132206b6a523 (patch) | |
tree | c4dc446a56c6995bb774f2383337274960f3953a | |
parent | 09bf78bd0e6a0c974465772ea855110989decd52 (diff) | |
download | phone-contacts-8d8a4039a4a1632d852793e39a87132206b6a523.tar.gz phone-contacts-8d8a4039a4a1632d852793e39a87132206b6a523.tar.bz2 phone-contacts-8d8a4039a4a1632d852793e39a87132206b6a523.zip |
change group system id as extra data
Change-Id: Ie6101409597cedcdda2b301782c773b68453825b
-rwxr-xr-x | lib/details/ct-group-assign-view.c | 2 | ||||
-rwxr-xr-x | lib/list/ct-group-view.c | 4 | ||||
-rwxr-xr-x | lib/list/ct-list-utils.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/details/ct-group-assign-view.c b/lib/details/ct-group-assign-view.c index bce687e..cbed8fe 100755 --- a/lib/details/ct-group-assign-view.c +++ b/lib/details/ct-group-assign-view.c @@ -350,7 +350,7 @@ static void grp_assign_fill_genlist(ct_assign_group_data *cgassign_d, contacts_l PH_DBG("id=%d",gl->grp_id); gl->contact_id = contact_id; - err = phone_cts_get_str_from_list(list_groups, _contacts_group.system_id, &system_id); + err = phone_cts_get_str_from_list(list_groups, _contacts_group.extra_data, &system_id); p_warn_if(CONTACTS_ERROR_NONE != err, "phone_cts_get_str_from_list() Failed(%d)", err); if (NULL != system_id) { if (strcmp(system_id,"friends")==0) diff --git a/lib/list/ct-group-view.c b/lib/list/ct-group-view.c index c6abf9c..9bdf642 100755 --- a/lib/list/ct-group-view.c +++ b/lib/list/ct-group-view.c @@ -591,7 +591,7 @@ static void __group_append_gengrid_of_ab(ct_group_data *cgroup_d, int ab_id, int p_retm_if(CONTACTS_ERROR_NONE != err, "contacts_record_get_str_p() Failed(%d)", err); info->img = SAFE_STRDUP(img); - contacts_record_get_str_p(record, _contacts_group.system_id, &group_system_id); + contacts_record_get_str_p(record, _contacts_group.extra_data, &group_system_id); if (NULL != group_system_id) { if (strcmp(group_system_id,"friends")==0) info->name = strdup(T_(CT_GET_TEXT_BASIC, CTTEXT_FRIENDS)); @@ -928,7 +928,7 @@ static void group_update_default_group_name(keynode_t *key, void *data) ret = contacts_record_get_int(record,_contacts_group.id,&grp_id); p_retm_if(CONTACTS_ERROR_NONE != ret, "contacts_record_get_int() Failed(%d)", ret); - ret = contacts_record_get_str_p(record,_contacts_group.system_id,&group_sysid); + ret = contacts_record_get_str_p(record,_contacts_group.extra_data,&group_sysid); p_retm_if(CONTACTS_ERROR_NONE != ret, "contacts_record_get_str_p() Failed(%d)", ret); ret = contacts_record_get_str_p(record,_contacts_group.name,&group_name); p_retm_if(CONTACTS_ERROR_NONE != ret, "contacts_record_get_str_p() Failed(%d)", ret); diff --git a/lib/list/ct-list-utils.c b/lib/list/ct-list-utils.c index d5bccc5..7ad6315 100755 --- a/lib/list/ct-list-utils.c +++ b/lib/list/ct-list-utils.c @@ -492,7 +492,7 @@ void ct_list_get_title(ct_list_data *clist_d, int list_op, int id_ab, int id_grp err = contacts_db_get_record(_contacts_group._uri, id_grp, &record); p_retm_if(CONTACTS_ERROR_NONE != err, "contacts_db_record_get() Failed(%d)", err); - err = contacts_record_get_str_p(record, _contacts_group.system_id, &group_system_id); + err = contacts_record_get_str_p(record, _contacts_group.extra_data, &group_system_id); p_warn_if(CONTACTS_ERROR_NONE != err, "contacts_record_get_str_p() Failed(%d)", err); if (group_system_id != NULL) { if (strcmp(group_system_id,"friends")==0) |