diff -r 479209198de3 -r 5cee4cb5ad79 ui/gtk/tree.c --- a/ui/gtk/tree.c Wed Nov 22 08:47:52 2017 +0100 +++ b/ui/gtk/tree.c Wed Nov 22 09:49:26 2017 +0100 @@ -258,6 +258,7 @@ event); } // TODO: destroy callback + GtkTreeSelection *selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(view)); gtk_tree_selection_set_mode(selection, GTK_SELECTION_MULTIPLE); @@ -335,6 +336,7 @@ void ui_table_dragsource(UIWIDGET tablewidget, int actions, char *target0, ...) { va_list ap; + va_start(ap, target0); int nelm; char **targets = targets2array(target0, ap, &nelm); va_end(ap); @@ -355,6 +357,7 @@ void ui_table_dragdest(UIWIDGET tablewidget, int actions, char *target0, ...) { va_list ap; + va_start(ap, target0); int nelm; char **targets = targets2array(target0, ap, &nelm); va_end(ap);