diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-21 19:48:41 -0500 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-21 19:48:41 -0500 |
commit | 72be6c494aa0df8bbc3f3f9137694b58e70eeee4 (patch) | |
tree | 63c6063f54381c5119c41d510c75ca34a407c99a /gtk/gtktreesortable.h | |
parent | 31532ca42ff9259a72b286fa5459bd1f911856be (diff) | |
download | gtk+-72be6c494aa0df8bbc3f3f9137694b58e70eeee4.tar.gz |
Make GTK_TREE_SORTABLE_*_SORT_COLUMN_ID defines instead of enum
This allows it to be more easily documented.
Diffstat (limited to 'gtk/gtktreesortable.h')
-rw-r--r-- | gtk/gtktreesortable.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk/gtktreesortable.h b/gtk/gtktreesortable.h index c9508b5c0c..848c2afb12 100644 --- a/gtk/gtktreesortable.h +++ b/gtk/gtktreesortable.h @@ -43,6 +43,7 @@ G_BEGIN_DECLS * * See also gtk_tree_sortable_set_sort_column_id() */ +#define GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID (-1) /** * GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID: @@ -52,11 +53,7 @@ G_BEGIN_DECLS * * See also gtk_tree_sortable_set_sort_column_id() */ - -enum { - GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID = -1, - GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID = -2 -}; +#define GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID (-2) typedef struct _GtkTreeSortable GtkTreeSortable; /* Dummy typedef */ typedef struct _GtkTreeSortableIface GtkTreeSortableIface; |