mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 06:10:15 +00:00
Make GTK_TREE_SORTABLE_*_SORT_COLUMN_ID defines instead of enum
This allows it to be more easily documented.
This commit is contained in:
parent
31532ca42f
commit
72be6c494a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user