summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/notification_internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notification_internal.c b/src/notification_internal.c
index f943775..0647f72 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)