to use, gah) in which the "model" argument to
gtk_tree_selection_get_selected_rows() couldn't be NULL.
git-svn-id: svn://svn.tartarus.org/sgt/putty@8069
cda61777-01e9-0310-a592-
d414129be87e
if (uc->treeview) {
GtkTreeSelection *treesel;
GtkTreePath *path;
+ GtkTreeModel *model;
GList *sellist;
gint *indices;
int ret;
if (gtk_tree_selection_count_selected_rows(treesel) != 1)
return -1;
- sellist = gtk_tree_selection_get_selected_rows(treesel, NULL);
+ sellist = gtk_tree_selection_get_selected_rows(treesel, &model);
assert(sellist && sellist->data);
path = sellist->data;