tree model sort: Fix initial default sort func

gtk_tree_sortable_has_default_sort_func should return
FALSE initially.
This commit is contained in:
Matthias Clasen 2018-01-16 18:15:13 -05:00
parent 33ec75944f
commit 42369e31e2

View File

@ -1768,7 +1768,7 @@ gtk_tree_model_sort_has_default_sort_func (GtkTreeSortable *sortable)
{
GtkTreeModelSort *tree_model_sort = (GtkTreeModelSort *)sortable;
return (tree_model_sort->priv->default_sort_func != NULL);
return (tree_model_sort->priv->default_sort_func != NO_SORT_FUNC);
}
/* DragSource interface */