/[gnustep]/gnustep/usr-apps/gworkspace/ContentViewers/ImageViewer/ImageViewer.m
ViewVC logotype

Diff of /gnustep/usr-apps/gworkspace/ContentViewers/ImageViewer/ImageViewer.m

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by esersale, Mon Aug 25 17:19:13 2003 UTC revision 1.3 by esersale, Tue Sep 30 15:38:04 2003 UTC
# Line 57  Line 57 
57    self = [super init];    self = [super init];
58        
59    if(self) {    if(self) {
     #ifdef GNUSTEP  
                   Class gwclass = [[NSBundle mainBundle] principalClass];  
     #else  
                   Class gwclass = [[NSBundle mainBundle] classNamed: @"GWorkspace"];  
     #endif    
60      NSTextField *widthLabel, *heightLabel;      NSTextField *widthLabel, *heightLabel;
61    
                 gworkspace = (id<GWProtocol>)[gwclass gworkspace];  
   
62      [self setFrame: frame];      [self setFrame: frame];
63      panel = (id<InspectorsProtocol>)apanel;      panel = (id<InspectorsProtocol>)apanel;
64      fm = [NSFileManager defaultManager];      fm = [NSFileManager defaultManager];
# Line 73  Line 66 
66            
67      index = idx;      index = idx;
68            
69      ASSIGN (extsarr, [gworkspace imageExtensions]);      ASSIGN (extsarr, [GWLib imageExtensions]);
70            
71      imrect = NSMakeRect(0, 30, 257, 215);      imrect = NSMakeRect(0, 30, 257, 215);
72      imview = [[NSImageView alloc] initWithFrame: imrect];      imview = [[NSImageView alloc] initWithFrame: imrect];

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26