]> git.saurik.com Git - winterboard.git/commitdiff
CFNotificationCenterAddObserver requires an enum.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 8 Jan 2014 15:23:05 +0000 (07:23 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 8 Jan 2014 15:23:05 +0000 (07:23 -0800)
Library.mm

index 4e6e2fd315889ba0ac5c959bc955e1153144689d..5a5633d6133b99f2a8cc386ac3d7c0393321488e 100644 (file)
@@ -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) {