mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 09:40:19 +00:00
clarify the init value for the default sort column id
The patch is basically s/-2/GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID/
This commit is contained in:
parent
655e0d8ddc
commit
adf8db68c7
@ -210,7 +210,7 @@ gtk_list_store_init (GtkListStore *list_store)
|
||||
list_store->seq = g_sequence_new (NULL);
|
||||
list_store->sort_list = NULL;
|
||||
list_store->stamp = g_random_int ();
|
||||
list_store->sort_column_id = -2;
|
||||
list_store->sort_column_id = GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID;
|
||||
list_store->columns_dirty = FALSE;
|
||||
list_store->length = 0;
|
||||
}
|
||||
|
@ -235,7 +235,7 @@ gtk_tree_store_init (GtkTreeStore *tree_store)
|
||||
while (tree_store->stamp == 0);
|
||||
|
||||
tree_store->sort_list = NULL;
|
||||
tree_store->sort_column_id = -2;
|
||||
tree_store->sort_column_id = GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID;
|
||||
tree_store->columns_dirty = FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user