Skip to content
Snippets Groups Projects
Commit 0969286a authored by George Nachman's avatar George Nachman
Browse files

Fix some warnings

parent dffe33d2
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -36,8 +36,12 @@
const int kSearchWidgetHeight = 22;
const int kInterWidgetMargin = 10;
 
@implementation ProfileListView
@interface ProfileListView ()
- (NSDictionary *)rowOrder;
- (void)syncTableViewsWithSelectedGuids:(NSArray *)guids;
@end
 
@implementation ProfileListView
 
- (void)awakeFromNib
{
Loading
Loading
@@ -131,7 +135,7 @@ const int kInterWidgetMargin = 10;
// move because it would be overwhelming so we must do it ourselves. This
// makes all other table views sync with the new order. First, add commands
// to rebuild the menus.
[self syncTableViewsWithSelectedGuids:guids];
[self syncTableViewsWithSelectedGuids:[guids allObjects]];
return YES;
}
 
Loading
Loading
Loading
Loading
@@ -85,6 +85,7 @@ typedef struct {
- (NSArray*)bookmarks;
- (NSArray*)guids;
- (void)addBookmark:(Profile*)b toMenu:(NSMenu*)menu startingAtItem:(int)skip withTags:(NSArray*)tags params:(JournalParams*)params atPos:(int)pos;
- (NSArray *)names;
 
// Tell all listeners that the model has changed.
- (void)postChangeNotification;
Loading
Loading
Loading
Loading
@@ -571,7 +571,8 @@ int gMigrated;
[self postChangeNotification];
}
 
- (NSArray *)names {
- (NSArray *)names
{
NSMutableArray *array = [NSMutableArray array];
for (Profile *profile in bookmarks_) {
[array addObject:[profile objectForKey:KEY_NAME]];
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment