~ubuntu-branches/ubuntu/natty/xscreensaver/natty

« back to all changes in this revision

Viewing changes to OSX/PrefsReader.m

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-11-17 15:40:52 UTC
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20101117154052-fin32epr9elnkv0s
Tags: upstream-5.12
ImportĀ upstreamĀ versionĀ 5.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* xscreensaver, Copyright (c) 2006-2009 Jamie Zawinski <jwz@jwz.org>
 
1
/* xscreensaver, Copyright (c) 2006-2010 Jamie Zawinski <jwz@jwz.org>
2
2
 *
3
3
 * Permission to use, copy, modify, distribute, and sell this software and its
4
4
 * documentation for any purpose is hereby granted without fee, provided that
117
117
    opts++;
118
118
  }
119
119
 
 
120
#if 0
120
121
  // make sure there's no resource mentioned in defaults and not options.
121
122
  NSEnumerator *enumerator = [defsdict keyEnumerator];
122
123
  NSString *key;
123
124
  while ((key = [enumerator nextObject])) {
124
 
#if 0
125
125
    if (! [optsdict objectForKey:key])
126
126
      if (! ([key isEqualToString:@"foreground"] || // don't warn about these
127
127
             [key isEqualToString:@"background"] ||
142
142
             [key isEqualToString:@"TVTint"]
143
143
             ))
144
144
      NSLog (@"warning: \"%@\" is in defaults but not options", key);
 
145
  }
145
146
#endif /* 0 */
146
 
  }
147
147
 
148
148
}
149
149