Author: cazfi
Date: Sun Jan  3 15:34:55 2016
New Revision: 31334

URL: http://svn.gna.org/viewcvs/freeciv?rev=31334&view=rev
Log:
Remove deprecated gtk_tree_view_set_rules_hint() calls from gtk3x-client.

See patch #6762

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

Modified: trunk/client/gui-gtk-3.x/editgui.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.x/editgui.c?rev=31334&r1=31333&r2=31334&view=diff
==============================================================================
--- trunk/client/gui-gtk-3.x/editgui.c  (original)
+++ trunk/client/gui-gtk-3.x/editgui.c  Sun Jan  3 15:34:55 2016
@@ -1073,7 +1073,6 @@
 
   view = gtk_tree_view_new_with_model(GTK_TREE_MODEL(tvs->store));
   gtk_widget_set_size_request(view, -1, 10 * tileset_tile_height(tileset));
-  gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(view), TRUE);
   gtk_tree_view_set_search_column(GTK_TREE_VIEW(view), TVS_COL_NAME);
   g_signal_connect(view, "row-activated",
                    G_CALLBACK(tool_value_selector_treeview_row_activated), 
tvs);

Modified: trunk/client/gui-gtk-3.x/editprop.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.x/editprop.c?rev=31334&r1=31333&r2=31334&view=diff
==============================================================================
--- trunk/client/gui-gtk-3.x/editprop.c (original)
+++ trunk/client/gui-gtk-3.x/editprop.c Sun Jan  3 15:34:55 2016
@@ -3561,7 +3561,6 @@
 
     if (store) {
       view = gtk_tree_view_new_with_model(GTK_TREE_MODEL(store));
-      gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(view), TRUE);
       sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(view));
       gtk_tree_selection_set_mode(sel, GTK_SELECTION_MULTIPLE);
     } else {
@@ -4636,7 +4635,6 @@
   view = gtk_tree_view_new_with_model(GTK_TREE_MODEL(pp->object_store));
   gtk_widget_set_hexpand(view, TRUE);
   gtk_widget_set_vexpand(view, TRUE);
-  gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(view), TRUE);
 
   property_page_objprop_iterate(pp, op) {
     if (!objprop_show_in_listview(op)) {


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

Reply via email to