noti_cb_list = g_list_first(noti_cb_list);
delete_cb_list = g_list_find_custom(noti_cb_list, (gconstpointer)changed_cb,
- _noti_changed_compare);
+ (GCompareFunc)_noti_changed_compare);
if (delete_cb_list) {
noti_cb_info = g_list_nth_data(delete_cb_list, 0);
noti_cb_list = g_list_first(noti_cb_list);
delete_cb_list = g_list_find_custom(noti_cb_list, (gconstpointer)detailed_changed_cb,
- _noti_detailed_changed_compare);
+ (GCompareFunc)_noti_detailed_changed_compare);
if (delete_cb_list) {
noti_cb_info = (notification_cb_info_s *)g_list_nth_data(delete_cb_list, 0);
g_hash_table_insert(_noti_dnd_cb_hash, GUINT_TO_POINTER(uid), noti_dnd_list);
} else {
noti_dnd_found_list = g_list_find_custom(noti_dnd_list, (gconstpointer)callback,
- _noti_dnd_cb_compare);
+ (GCompareFunc)_noti_dnd_cb_compare);
if (noti_dnd_found_list) {
NOTIFICATION_ERR("Already existing callback");
free(dnd_data);
return NOTIFICATION_ERROR_INVALID_PARAMETER;
noti_dnd_del_list = g_list_find_custom(noti_dnd_cb_list, (gconstpointer)callback,
- _noti_dnd_cb_compare);
+ (GCompareFunc)_noti_dnd_cb_compare);
if (noti_dnd_del_list) {
dnd_data = g_list_nth_data(noti_dnd_del_list, 0);