bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GSToolbar code patch for c89


From: Riccardo Mottola
Subject: GSToolbar code patch for c89
Date: Wed, 02 Jun 2004 11:26:12 +0200

Hello,

I attach a small patch to make -gui (GSToolbar.m) compile on gcc 2.x
class compilers

-Riccardo
? Source/config.h
Index: Source/GSToolbar.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/core/gui/Source/GSToolbar.m,v
retrieving revision 1.4
diff -u -r1.4 GSToolbar.m
--- Source/GSToolbar.m  28 May 2004 23:49:16 -0000      1.4
+++ Source/GSToolbar.m  2 Jun 2004 09:17:27 -0000
@@ -204,8 +204,10 @@
 
 - (id) initWithWindow: (NSWindow *)window {
   if ((self = [super init]) != nil)
-    {;
-      NSView *vw = [window _windowView];
+    {
+      NSView *vw;
+
+      vw = [window _windowView];
       
       ASSIGN(_window, window);
       [nc addObserver: self selector: @selector(windowDidUpdate:) 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]