tReturn model pointer if it's asked for - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit adfb946b4643185b21f18de43fffddb10d07706b
(DIR) parent d57993724c27159ed2cfa6c069f5c052c126b9b7
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Sat, 28 Nov 2020 19:19:19 -0800
Return model pointer if it's asked for
Diffstat:
M src/gtkport/treeview.c | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/src/gtkport/treeview.c b/src/gtkport/treeview.c
t@@ -795,6 +795,9 @@ GList *gtk_tree_selection_get_selected_rows(GtkTreeSelection *selection,
*path = row;
pathsel = g_list_append(pathsel, path);
}
+ if (model) {
+ *model = selection->model;
+ }
return pathsel;
}