- sort_col_id = g_settings_get_int(settings, "tasks-sort-col");
- sort_order = g_settings_get_int(settings, "tasks-sort-order");
- model = GTK_TREE_SORTABLE(gtk_tree_view_get_model(GTK_TREE_VIEW(w_treeview)));
- gtk_tree_sortable_set_sort_column_id(model, sort_col_id, sort_order);