diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2008-08-12 13:51:13 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-09-30 07:08:17 +0000 |
commit | a954357579aa1fc2d03610d97d30a09156af7276 (patch) | |
tree | 159d1391350a992fe25b015e8330e6401fb56a78 /Preferences.mm | |
parent | 25a2158d9d2f51732843c7deb1835537d28b1ccd (diff) |
Some minor header file changes.
Diffstat (limited to 'Preferences.mm')
-rw-r--r-- | Preferences.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Preferences.mm b/Preferences.mm index b7ccfff..f576193 100644 --- a/Preferences.mm +++ b/Preferences.mm @@ -232,7 +232,7 @@ Database *database_; id delegate_; NSMutableArray *sources_; - UIAlertSheet *alert_; + UIActionSheet *alert_; } - (int) numberOfSectionsInSectionList:(UISectionList *)list; @@ -294,7 +294,7 @@ [table selectRow:-1 byExtendingSelection:NO withFade:YES]; } -- (void) alertSheet:(UIAlertSheet *)sheet buttonClicked:(int)button { +- (void) alertSheet:(UIActionSheet *)sheet buttonClicked:(int)button { [alert_ dismiss]; [alert_ release]; alert_ = nil; @@ -303,7 +303,7 @@ - (void) navigationBar:(UINavigationBar *)navbar buttonClicked:(int)button { switch (button) { case 0: - alert_ = [[UIAlertSheet alloc] + alert_ = [[UIActionSheet alloc] initWithTitle:@"Unimplemented" buttons:[NSArray arrayWithObjects:@"Okay", nil] defaultButtonIndex:0 |