From 6acfb5942a847b6aa87ab12f3b8ceea3b555cf73 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 8 Jan 2014 07:23:05 -0800 Subject: [PATCH] CFNotificationCenterAddObserver requires an enum. --- Library.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library.mm b/Library.mm index 4e6e2fd..5a5633d 100644 --- a/Library.mm +++ b/Library.mm @@ -2368,7 +2368,7 @@ MSInitialize { CFNotificationCenterAddObserver( CFNotificationCenterGetDarwinNotifyCenter(), - NULL, &ChangeWallpaper, (CFStringRef) @"com.saurik.winterboard.lockbackground", NULL, 0 + NULL, &ChangeWallpaper, (CFStringRef) @"com.saurik.winterboard.lockbackground", NULL, CFNotificationSuspensionBehaviorCoalesce ); if ($getTheme$([NSArray arrayWithObject:@"Wallpaper.mp4"]) != nil) { -- 2.45.2