Author: sveinung
Date: Tue Jul 12 16:24:24 2016
New Revision: 33236

URL: http://svn.gna.org/viewcvs/freeciv?rev=33236&view=rev
Log:
Make the gtk3x client compile again.

See gna bug #24851

Modified:
    trunk/client/gui-gtk-3.x/helpdlg.c
    trunk/client/gui-gtk-3.x/wldlg.c

Modified: trunk/client/gui-gtk-3.x/helpdlg.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.x/helpdlg.c?rev=33236&r1=33235&r2=33236&view=diff
==============================================================================
--- trunk/client/gui-gtk-3.x/helpdlg.c  (original)
+++ trunk/client/gui-gtk-3.x/helpdlg.c  Tue Jul 12 16:24:24 2016
@@ -910,7 +910,7 @@
     gtk_widget_show(help_text_sw);
 
     set_help_tile_from_sprite(get_unittype_sprite(tileset, utype,
-                                                  direction8_invalid());
+                                                  direction8_invalid()));
   } else {
     gtk_label_set_text(GTK_LABEL(help_ulabel[0][1]), "0");
     gtk_label_set_text(GTK_LABEL(help_ulabel[0][4]), "0");

Modified: trunk/client/gui-gtk-3.x/wldlg.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.x/wldlg.c?rev=33236&r1=33235&r2=33236&view=diff
==============================================================================
--- trunk/client/gui-gtk-3.x/wldlg.c    (original)
+++ trunk/client/gui-gtk-3.x/wldlg.c    Tue Jul 12 16:24:24 2016
@@ -952,7 +952,7 @@
 
     if (VUT_UTYPE == target.kind) {
       sprite = sprite_scale(get_unittype_sprite(tileset, target.value.utype,
-                                                direction_invalid()),
+                                                direction8_invalid()),
                             max_unit_width, max_unit_height);
     } else {
       sprite = get_building_sprite(tileset, target.value.building);


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to