Revision: 7144
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7144&view=rev
Author:   hofman
Date:     2011-03-10 22:34:05 +0000 (Thu, 10 Mar 2011)

Log Message:
-----------
Declare protocol conformance. Set datasource instead of delegate.

Modified Paths:
--------------
    trunk/SKBookmarkController.h
    trunk/SKOutlineView.m

Modified: trunk/SKBookmarkController.h
===================================================================
--- trunk/SKBookmarkController.h        2011-03-10 11:19:54 UTC (rev 7143)
+++ trunk/SKBookmarkController.h        2011-03-10 22:34:05 UTC (rev 7144)
@@ -42,7 +42,7 @@
 
 @class SKBookmark, SKStatusBar;
 
-@interface SKBookmarkController : SKWindowController <NSWindowDelegate, 
NSToolbarDelegate, SKOutlineViewDelegate, NSOutlineViewDataSource> {
+@interface SKBookmarkController : SKWindowController <NSWindowDelegate, 
NSToolbarDelegate, NSMenuDelegate, SKOutlineViewDelegate, 
NSOutlineViewDataSource> {
     SKOutlineView *outlineView;
     SKStatusBar *statusBar;
     SKBookmark *bookmarkRoot;

Modified: trunk/SKOutlineView.m
===================================================================
--- trunk/SKOutlineView.m       2011-03-10 11:19:54 UTC (rev 7143)
+++ trunk/SKOutlineView.m       2011-03-10 22:34:05 UTC (rev 7144)
@@ -256,7 +256,7 @@
 - (id <SKOutlineViewDelegate>)delegate { return 
(<SKOutlineViewDelegate>)[super delegate]; }
 - (void)setDelegate:(id <SKOutlineViewDelegate>)newDelegate { [super 
setDelegate:newDelegate]; }
 - (id <SKOutlineViewDataSource>)dataSource { return 
(<SKOutlineViewDataSource>)[super dataSource]; }
-- (void)setDataSource:(id <SKOutlineViewDataSource>)newDataSource { [super 
setDelegate:newDataSource]; }
+- (void)setDataSource:(id <SKOutlineViewDataSource>)newDataSource { [super 
setDataSource:newDataSource]; }
 #endif
 
 @end


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to