diff options
author | Benjamin Otte <otte@gnome.org> | 2009-06-21 22:35:15 +0200 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2009-06-27 11:30:06 +0200 |
commit | adf8db68c7ea0415f418fb4276913446569be3d3 (patch) | |
tree | b1fe4be46ba710d4449006e361b5f00b80d3e8ad /gtk | |
parent | 655e0d8ddc704ce61938e14b52f7d3715c6ad578 (diff) | |
download | gtk+-adf8db68c7ea0415f418fb4276913446569be3d3.tar.gz |
clarify the init value for the default sort column id
The patch is basically s/-2/GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID/
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkliststore.c | 2 | ||||
-rw-r--r-- | gtk/gtktreestore.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c index e24cd76dd9..3f2f7c4fc3 100644 --- a/gtk/gtkliststore.c +++ b/gtk/gtkliststore.c @@ -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; } diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c index 9a522df632..1fb178d375 100644 --- a/gtk/gtktreestore.c +++ b/gtk/gtktreestore.c @@ -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; } |