Fix build warning 55/77155/1 accepted/tizen/common/20160703.125958 accepted/tizen/ivi/20160629.070832 accepted/tizen/mobile/20160629.070958 accepted/tizen/tv/20160629.070728 accepted/tizen/wearable/20160629.070816 submit/tizen/20160629.021322 submit/tizen_common/20160701.180000
authorMyungki Lee <mk5004.lee@samsung.com>
Wed, 29 Jun 2016 02:04:07 +0000 (11:04 +0900)
committerMyungki Lee <mk5004.lee@samsung.com>
Wed, 29 Jun 2016 02:04:07 +0000 (11:04 +0900)
- the wrong comparison in notification_unresister_changed_cb_for_uid()

Change-Id: I30c6ab09aa8cadbd7896f3c22bae448e348ed603
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
src/notification_internal.c

index f943775..0647f72 100755 (executable)
@@ -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)