[Freeciv-Dev] (PR#2351) gtk2 compile problems
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients:; |
Subject: |
[Freeciv-Dev] (PR#2351) gtk2 compile problems |
From: |
"Jason Short via RT" <rt@xxxxxxxxxxxxxx> |
Date: |
Fri, 15 Nov 2002 15:37:15 -0800 |
Reply-to: |
rt@xxxxxxxxxxxxxx |
Here's a fix.
I will apply this to CVS immediately, but Vasco: you should take a look
at it.
jason
Index: client/gui-gtk-2.0/citydlg.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/citydlg.c,v
retrieving revision 1.13
diff -u -r1.13 citydlg.c
--- client/gui-gtk-2.0/citydlg.c 2002/11/15 21:24:29 1.13
+++ client/gui-gtk-2.0/citydlg.c 2002/11/15 23:31:58
@@ -56,6 +56,8 @@
#include "citydlg.h"
+struct city_dialog;
+
/* get 'struct dialog_list' and related functions: */
#define SPECLIST_TAG dialog
#define SPECLIST_TYPE struct city_dialog
Index: client/gui-gtk-2.0/diplodlg.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/diplodlg.c,v
retrieving revision 1.6
diff -u -r1.6 diplodlg.c
--- client/gui-gtk-2.0/diplodlg.c 2002/11/15 21:24:29 1.6
+++ client/gui-gtk-2.0/diplodlg.c 2002/11/15 23:31:58
@@ -847,7 +847,7 @@
{
if(!dialog_list_list_has_been_initialised) {
dialog_list_init(&dialog_list);
- dialog_list_list_has_been_initialised = TUR;
+ dialog_list_list_has_been_initialised = TRUE;
}
dialog_list_iterate(dialog_list, pdialog) {
@@ -866,7 +866,7 @@
static struct Diplomacy_dialog *find_diplomacy_by_input(GtkWidget *w)
{
dialog_list_iterate(dialog_list, pdialog) {
- if ((pdialog->dip_gold_input0 == w) || (pdialog->dip_gold_input1 == w)) {
+ if ((pdialog->dip_gold_entry0 == w) || (pdialog->dip_gold_entry1 == w)) {
return pdialog;
}
} dialog_list_iterate_end;
|
|