Author: cazfi
Date: Thu Nov  3 06:28:29 2016
New Revision: 34340

URL: http://svn.gna.org/viewcvs/freeciv?rev=34340&view=rev
Log:
Removed deprecated gtk_tree_view_set_rules_hint() calls from gtk3.22-client.

See patch #6762

Modified:
    branches/S2_6/client/gui-gtk-3.22/editgui.c
    branches/S2_6/client/gui-gtk-3.22/editprop.c

Modified: branches/S2_6/client/gui-gtk-3.22/editgui.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-gtk-3.22/editgui.c?rev=34340&r1=34339&r2=34340&view=diff
==============================================================================
--- branches/S2_6/client/gui-gtk-3.22/editgui.c (original)
+++ branches/S2_6/client/gui-gtk-3.22/editgui.c Thu Nov  3 06:28:29 2016
@@ -1074,7 +1074,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: branches/S2_6/client/gui-gtk-3.22/editprop.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-gtk-3.22/editprop.c?rev=34340&r1=34339&r2=34340&view=diff
==============================================================================
--- branches/S2_6/client/gui-gtk-3.22/editprop.c        (original)
+++ branches/S2_6/client/gui-gtk-3.22/editprop.c        Thu Nov  3 06:28:29 2016
@@ -3630,7 +3630,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 {
@@ -4777,7 +4776,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