From: Myungki Lee Date: Wed, 29 Jun 2016 02:04:07 +0000 (+0900) Subject: Fix build warning X-Git-Tag: submit/tizen/20160629.021322^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e5871526e72f47d08b1385662e0002cc2810230;p=platform%2Fcore%2Fapi%2Fnotification.git Fix build warning - the wrong comparison in notification_unresister_changed_cb_for_uid() Change-Id: I30c6ab09aa8cadbd7896f3c22bae448e348ed603 Signed-off-by: Myungki Lee --- diff --git a/src/notification_internal.c b/src/notification_internal.c index f9437756..0647f722 100755 --- a/src/notification_internal.c +++ b/src/notification_internal.c @@ -192,7 +192,7 @@ EXPORT_API int notification_unresister_changed_cb_for_uid( for (; noti_cb_list != NULL; noti_cb_list = noti_cb_list->next) { noti_cb_info = noti_cb_list->data; - if (noti_cb_info->detailed_changed_cb == changed_cb) { + if (noti_cb_info->changed_cb == changed_cb) { noti_cb_list = g_list_remove(g_list_first(noti_cb_list), noti_cb_info); if (noti_cb_list == NULL)