<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40553 >

Attached patch replaces the call to gtk_tree_row_reference_get_model
by an equivalent expression.


-----------------------------------------------------------------------
暗黒時代にようこそ!

diff --git a/client/gui-gtk-2.0/editprop.c b/client/gui-gtk-2.0/editprop.c
index 12c1cc6..3ac5423 100644
--- a/client/gui-gtk-2.0/editprop.c
+++ b/client/gui-gtk-2.0/editprop.c
@@ -4169,7 +4169,7 @@ static void property_page_object_changed(struct property_page *pp,
     GtkTreeIter iter;
     GtkTreeModel *model;
 
-    model = gtk_tree_row_reference_get_model(rr);
+    model = GTK_TREE_MODEL(pp->object_store);
     path = gtk_tree_row_reference_get_path(rr);
 
     if (gtk_tree_model_get_iter(model, &iter, path)) {
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to