PATCH for phaser-chess



Here is a small patch to get phaser-chess at least to appear on the screen.
Somebody renamed aHeight -> setHeight in objgtk and forgot to change it here.


Robert

--- ../../../cvs/gnome-games/phaser-chess/board_view.m  Mon Nov 24 23:32:25 1997
+++ board_view.m        Thu Apr 30 16:17:56 1998
@@ -215,15 +215,15 @@
   fire_button0 = [[[Gtk_Button alloc] initWithLabel : "Fire"] show];
   pass_button0 = [[[Gtk_Button alloc] initWithLabel : "Pass"] show];
   left_draw = [[[Gtk_DrawingArea alloc] init] show];
-  [left_draw size : MOVES_WIDTH aHeight: MOVES_HEIGHT];
+  [left_draw size : MOVES_WIDTH setHeight: MOVES_HEIGHT];
 
   draw = [[[Gtk_DrawingArea alloc] init] show];
-  [draw size : GRID_SZ*15 aHeight: GRID_SZ*11];
+  [draw size : GRID_SZ*15 setHeight: GRID_SZ*11];
   
   fire_button1 = [[[Gtk_Button alloc] initWithLabel : "Fire"] show];
   pass_button1 = [[[Gtk_Button alloc] initWithLabel : "Pass"] show];
   right_draw = [[[Gtk_DrawingArea alloc] init] show];
-  [right_draw size : MOVES_WIDTH aHeight: MOVES_HEIGHT];
+  [right_draw size : MOVES_WIDTH setHeight: MOVES_HEIGHT];
 
 
   gdk_window_get_geometry (draw->gtkwidget->window,



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