Author: cazfi
Date: Sun Jan 10 22:31:42 2016
New Revision: 31441

URL: http://svn.gna.org/viewcvs/freeciv?rev=31441&view=rev
Log:
Commented out setup_canvas_color_for_state() from gtk3x-client

See patch #6797

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

Modified: trunk/client/gui-gtk-3.x/gui_main.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.x/gui_main.c?rev=31441&r1=31440&r2=31441&view=diff
==============================================================================
--- trunk/client/gui-gtk-3.x/gui_main.c (original)
+++ trunk/client/gui-gtk-3.x/gui_main.c Sun Jan 10 22:31:42 2016
@@ -1057,6 +1057,7 @@
 /**************************************************************************
   Override background color for canvases
 **************************************************************************/
+#if 0
 static void setup_canvas_color_for_state(GtkStateFlags state)
 {
   gtk_widget_override_background_color(GTK_WIDGET(overview_canvas), state,
@@ -1064,6 +1065,7 @@
   gtk_widget_override_background_color(GTK_WIDGET(map_canvas), state,
                                        &get_color(tileset, 
COLOR_OVERVIEW_UNKNOWN)->color);
 }
+#endif
 
 /**************************************************************************
  do the heavy lifting for the widget setup.
@@ -1421,6 +1423,7 @@
   gtk_widget_set_size_request(map_canvas, 300, 300);
   gtk_widget_set_can_focus(map_canvas, TRUE);
 
+#if 0
   setup_canvas_color_for_state(GTK_STATE_FLAG_NORMAL);
   setup_canvas_color_for_state(GTK_STATE_FLAG_ACTIVE);
   setup_canvas_color_for_state(GTK_STATE_FLAG_PRELIGHT);
@@ -1429,6 +1432,7 @@
   setup_canvas_color_for_state(GTK_STATE_FLAG_INCONSISTENT);
   setup_canvas_color_for_state(GTK_STATE_FLAG_FOCUSED);
   setup_canvas_color_for_state(GTK_STATE_FLAG_BACKDROP);
+#endif
 
   gtk_widget_add_events(map_canvas, GDK_EXPOSURE_MASK
                                    |GDK_BUTTON_PRESS_MASK


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

Reply via email to