mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
tree model sort: Fix initial default sort func
gtk_tree_sortable_has_default_sort_func should return FALSE initially.
This commit is contained in:
parent
33ec75944f
commit
42369e31e2
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user