Author: rmottola
Date: Wed Jun 1 15:00:15 2016
New Revision: 39830
URL: http://svn.gna.org/viewcvs/gnustep?rev=39830&view=rev
Log:
remove unused stuff - connections are local no need to check
Modified:
apps/gworkspace/trunk/Inspector/ContentViewers/ImageViewer/Resizer.h
apps/gworkspace/trunk/Inspector/ContentViewers/ImageViewer/Resizer.m
Modified: apps/gworkspace/trunk/Inspector/ContentViewers/ImageViewer/Resizer.h
URL:
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/Inspector/ContentViewers/ImageViewer/Resizer.h?rev=39830&r1=39829&r2=39830&view=diff
==============================================================================
--- apps/gworkspace/trunk/Inspector/ContentViewers/ImageViewer/Resizer.h
(original)
+++ apps/gworkspace/trunk/Inspector/ContentViewers/ImageViewer/Resizer.h
Wed Jun 1 15:00:15 2016
@@ -28,17 +28,12 @@
@interface ImageResizer : NSObject
{
- id viewer;
- NSNotificationCenter *nc;
+
}
- (id)initWithConnectionName:(NSString *)cname;
-- (void)connectionDidDie:(NSNotification *)notification;
-
- (void)readImageAtPath:(NSString *)path
setSize:(NSSize)imsize;
-- (void)terminate;
-
@end
Modified: apps/gworkspace/trunk/Inspector/ContentViewers/ImageViewer/Resizer.m
URL:
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/Inspector/ContentViewers/ImageViewer/Resizer.m?rev=39830&r1=39829&r2=39830&view=diff
==============================================================================
--- apps/gworkspace/trunk/Inspector/ContentViewers/ImageViewer/Resizer.m
(original)
+++ apps/gworkspace/trunk/Inspector/ContentViewers/ImageViewer/Resizer.m
Wed Jun 1 15:00:15 2016
@@ -60,7 +60,6 @@
serverObject = [[self alloc] init];
if (serverObject)
{
- NSLog(@"setting server");
[[serverConnection rootProxy] setServer:serverObject];
[serverObject release];
[[NSRunLoop currentRunLoop] run];
@@ -72,22 +71,9 @@
- (void)dealloc
{
- [nc removeObserver: self];
- DESTROY (viewer);
[super dealloc];
}
-- (void)connectionDidDie:(NSNotification *)notification
-{
- id conn = [notification object];
-
- [nc removeObserver: self
- name: NSConnectionDidDieNotification
- object: conn];
-
- NSLog(@"Image Viewer connection has been destroyed.");
- exit(0);
-}
#define MIX_LIM 16
@@ -214,10 +200,6 @@
RELEASE (arp);
}
-- (void)terminate
-{
- NSLog(@"Should terminate - doing nothing");
-}
@end
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs