67b60fccb5
OK landry@, jasper@
22 lines
740 B
Plaintext
22 lines
740 B
Plaintext
$OpenBSD: patch-EMController_m,v 1.1.1.1 2011/05/24 14:01:48 sebastia Exp $
|
|
|
|
fix for gcc-2.95
|
|
|
|
--- EMController.m.orig Tue May 24 09:37:53 2011
|
|
+++ EMController.m Tue May 24 09:41:24 2011
|
|
@@ -38,10 +38,13 @@
|
|
// -------------------------------------------------------
|
|
- (void)awakeFromNib
|
|
{
|
|
+#ifdef GNUSTEP
|
|
+ id tempView;
|
|
+#endif
|
|
[[displayField window] makeKeyAndOrderFront:self];
|
|
|
|
#ifdef GNUSTEP
|
|
- id tempView = [[[displayField window] contentView] viewWithTag: 42];
|
|
+ tempView = [[[displayField window] contentView] viewWithTag: 42];
|
|
[[tempView cellWithTag: 12] setTarget: self];
|
|
[[tempView cellWithTag: 12] setAction: @selector(setDegree:)];
|
|
[[tempView cellWithTag: 13] setTarget: self];
|