From: Jay Freeman (saurik) Date: Wed, 8 Jan 2014 15:23:05 +0000 (-0800) Subject: CFNotificationCenterAddObserver requires an enum. X-Git-Tag: v0.9.3912~29 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/6acfb5942a847b6aa87ab12f3b8ceea3b555cf73 CFNotificationCenterAddObserver requires an enum. --- 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) {