Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2005:
[Freeciv-Dev] (PR#12133) fix gui-xaw compilation
Home

[Freeciv-Dev] (PR#12133) fix gui-xaw compilation

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12133) fix gui-xaw compilation
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 5 Feb 2005 13:08:54 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12133 >

This patch lets gui-xaw compile again.

-jason

Index: client/gui-xaw/mapview.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-xaw/mapview.c,v
retrieving revision 1.186
diff -u -r1.186 mapview.c
--- client/gui-xaw/mapview.c    1 Dec 2004 18:56:53 -0000       1.186
+++ client/gui-xaw/mapview.c    5 Feb 2005 21:08:28 -0000
@@ -208,7 +208,7 @@
     xaw_set_label(unit_info_label, buffer);
 
     if (hover_unit != punit->id)
-      set_hover_state(NULL, HOVER_NONE, ACTIVITY_LAST);
+      set_hover_state(NULL, HOVER_NONE, ACTIVITY_LAST, ORDER_LAST);
 
     switch (hover_state) {
     case HOVER_NONE:
Index: client/gui-xaw/pages.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-xaw/pages.c,v
retrieving revision 1.2
diff -u -r1.2 pages.c
--- client/gui-xaw/pages.c      20 Oct 2004 17:38:51 -0000      1.2
+++ client/gui-xaw/pages.c      5 Feb 2005 21:08:28 -0000
@@ -15,6 +15,8 @@
 #include <config.h>
 #endif
 
+#include "connectdlg_g.h"
+
 #include "pages.h"
 
 /**************************************************************************
@@ -26,3 +28,12 @@
   /* PORTME */
 }
 
+/****************************************************************************
+  Set the list of available rulesets.  The default ruleset should be
+  "default", and if the user changes this then set_ruleset() should be
+  called.
+****************************************************************************/
+void gui_set_rulesets(int num_rulesets, char **rulesets)
+{
+  /* PORTME */
+}

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12133) fix gui-xaw compilation, Jason Short <=