summaryrefslogtreecommitdiff
path: root/Preferences.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-08-12 13:51:13 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:08:17 +0000
commita954357579aa1fc2d03610d97d30a09156af7276 (patch)
tree159d1391350a992fe25b015e8330e6401fb56a78 /Preferences.mm
parent25a2158d9d2f51732843c7deb1835537d28b1ccd (diff)
Some minor header file changes.
Diffstat (limited to 'Preferences.mm')
-rw-r--r--Preferences.mm6
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