projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now that we use real gss_buffer_ts, there's no need to muck about with
[u/mdw/putty]
/
unix
/
gtkdlg.c
diff --git
a/unix/gtkdlg.c
b/unix/gtkdlg.c
index
53a7025
..
d48a316
100644
(file)
--- a/
unix/gtkdlg.c
+++ b/
unix/gtkdlg.c
@@
-701,6
+701,7
@@
int dlg_listbox_index(union control *ctrl, void *dlg)
if (uc->treeview) {
GtkTreeSelection *treesel;
GtkTreePath *path;
if (uc->treeview) {
GtkTreeSelection *treesel;
GtkTreePath *path;
+ GtkTreeModel *model;
GList *sellist;
gint *indices;
int ret;
GList *sellist;
gint *indices;
int ret;
@@
-711,7
+712,7
@@
int dlg_listbox_index(union control *ctrl, void *dlg)
if (gtk_tree_selection_count_selected_rows(treesel) != 1)
return -1;
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;
assert(sellist && sellist->data);
path = sellist->data;