Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2002:
[Freeciv-Dev] gtk2 compile error (PR#2072)
Home

[Freeciv-Dev] gtk2 compile error (PR#2072)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] gtk2 compile error (PR#2072)
From: Jason Short <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 19 Sep 2002 11:52:48 -0700 (PDT)

The gtk2 client won't compile because the dataio functions weren't renamed when that code was renamed and split off into dataio.[ch].

Patch attached.

jason
Index: client/gui-gtk-2.0/gui_main.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/gui_main.c,v
retrieving revision 1.26
diff -u -r1.26 gui_main.c
--- client/gui-gtk-2.0/gui_main.c       2002/08/24 14:37:43     1.26
+++ client/gui-gtk-2.0/gui_main.c       2002/09/19 18:14:48
@@ -30,6 +30,7 @@
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 
+#include "dataio.h"
 #include "fcintl.h"
 #include "game.h"
 #include "government.h"
@@ -860,8 +861,8 @@
     network_charset = mystrdup(charset);
   }
 
-  set_put_conv_callback(put_conv);
-  set_iget_conv_callback(iget_conv);
+  dio_set_put_conv_callback(put_conv);
+  dio_set_get_conv_callback(iget_conv);
 
   /* convert inputs */
   s = g_locale_to_utf8(player_name, -1, NULL, NULL, NULL);

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] gtk2 compile error (PR#2072), Jason Short <=