[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EZGraph enableDestroyNotification: problem?
From: |
Marcus G. Daniels |
Subject: |
Re: EZGraph enableDestroyNotification: problem? |
Date: |
05 Feb 1998 10:34:31 -0800 |
>>>>> "RLR" == Rick Riolo <address@hidden> writes:
RLR> when I close the EZGraph window, ie the unhappyGraph
RLR> instance variable does not become nil (according the probe view)
RLR> and a fprintf(stderr) in _unhappyGraphDeath_: does not result in
RLR> a message to stderr.
That's a bug alright. Thanks!
Also, the call to enableDestroyNotification:notificationMethod: in
HeatbugObserverSwarm.m should be moved below the unhappyGraph
createEnd; it's not something you should call at create-time.
Index: GUIComposite.m
===================================================================
RCS file: /opt/src/hive/cvs/Swarm/swarm/src/simtools/GUIComposite.m,v
retrieving revision 1.6
diff -c -r1.6 GUIComposite.m
*** GUIComposite.m 1998/01/16 04:38:06 1.6
--- GUIComposite.m 1998/02/05 18:24:49
***************
*** 15,26 ****
return strcmp ((const char *)obj1, (const char *)obj2);
}
- createEnd
{
[super createEnd];
- componentList = [Map createBegin: [self getZone]];
- [componentList setCompareFunction: compareFunc];
- componentList = [componentList createEnd];
return self;
}
--- 15,33 ----
return strcmp ((const char *)obj1, (const char *)obj2);
}
+ + createBegin: aZone
+ {
+ GUIComposite *obj = [super createBegin: aZone];
+
+ obj->componentList = [Map createBegin: aZone];
+ [obj->componentList setCompareFunction: compareFunc];
+ obj->componentList = [obj->componentList createEnd];
+ return obj;
+ }
+
- createEnd
{
[super createEnd];
return self;
}
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
==================================