diff options
author | 5 <jrb@redhat.com> | 2000-10-15 17:46:23 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2000-10-15 17:46:23 +0000 |
commit | e6b9f2910bf999e0aca17a573aa285e98c57f06c (patch) | |
tree | 58a62a01f0f5408621753126f18a4bab8ecff8e6 /gtk/gtktreestore.h | |
parent | 3cd1330d6e97dc7a7aaa6d49f27062af28171dbc (diff) | |
download | gtk+-e6b9f2910bf999e0aca17a573aa285e98c57f06c.tar.gz |
Fix GtkTreeNode *node ->GtkTreeNode node issue.
2000-10-15 <jrb@redhat.com>
* gtk/gtktreeview.c, gtk/gtktreeview.h, gtk/gtktreestore.h,
gtk/gtktreestore.c, gtk/gtkliststore.h, gtk/gtkliststore.c,
gtk/gtkmodelsimple.c, gtk/gtkmodelsimple.h, gtk/gtktreedatalist.c,
gtk/gtktreemodel.h, gtk/gtktreeselection.c,
gtk/gtktreeselection.h: Fix GtkTreeNode *node ->GtkTreeNode node
issue.
Diffstat (limited to 'gtk/gtktreestore.h')
-rw-r--r-- | gtk/gtktreestore.h | 78 |
1 files changed, 40 insertions, 38 deletions
diff --git a/gtk/gtktreestore.h b/gtk/gtktreestore.h index dce0bafedf..02bfe216d3 100644 --- a/gtk/gtktreestore.h +++ b/gtk/gtktreestore.h @@ -38,7 +38,7 @@ typedef struct _GtkTreeStoreClass GtkTreeStoreClass; struct _GtkTreeStore { GtkTreeModel parent; - GtkTreeNode *root; + GtkTreeNode root; gint n_columns; GType *column_headers; }; @@ -48,47 +48,49 @@ struct _GtkTreeStoreClass GtkTreeModelClass parent_class; }; + GtkType gtk_tree_store_get_type (void); GtkObject *gtk_tree_store_new (void); -GtkObject *gtk_tree_store_new_with_values (gint n_columns, +GtkObject *gtk_tree_store_new_with_values (gint n_columns, ...); -void gtk_tree_store_set_n_columns (GtkTreeStore *tree_store, - gint n_columns); -void gtk_tree_store_set_column_type (GtkTreeStore *store, - gint column, - GType type); +void gtk_tree_store_set_n_columns (GtkTreeStore *tree_store, + gint n_columns); +void gtk_tree_store_set_column_type (GtkTreeStore *store, + gint column, + GType type); + +GtkTreeNode gtk_tree_store_node_new (void); +void gtk_tree_store_node_set_cell (GtkTreeStore *tree_store, + GtkTreeNode node, + gint column, + GValue *value); +void gtk_tree_store_node_remove (GtkTreeStore *tree_store, + GtkTreeNode node); +GtkTreeNode gtk_tree_store_node_insert (GtkTreeStore *tree_store, + GtkTreeNode parent, + gint position, + GtkTreeNode node); +GtkTreeNode gtk_tree_store_node_insert_before (GtkTreeStore *tree_store, + GtkTreeNode parent, + GtkTreeNode sibling, + GtkTreeNode node); +GtkTreeNode gtk_tree_store_node_insert_after (GtkTreeStore *tree_store, + GtkTreeNode parent, + GtkTreeNode sibling, + GtkTreeNode node); +GtkTreeNode gtk_tree_store_node_prepend (GtkTreeStore *tree_store, + GtkTreeNode parent, + GtkTreeNode node); +GtkTreeNode gtk_tree_store_node_append (GtkTreeStore *tree_store, + GtkTreeNode parent, + GtkTreeNode node); +GtkTreeNode gtk_tree_store_node_get_root (GtkTreeStore *tree_store); +gboolean gtk_tree_store_node_is_ancestor (GtkTreeStore *tree_store, + GtkTreeNode node, + GtkTreeNode descendant); +gint gtk_tree_store_node_depth (GtkTreeStore *tree_store, + GtkTreeNode node); -GtkTreeNode *gtk_tree_store_node_new (void); -void gtk_tree_store_node_set_cell (GtkTreeStore *tree_store, - GtkTreeNode *node, - gint column, - GValue *value); -void gtk_tree_store_node_remove (GtkTreeStore *tree_store, - GtkTreeNode *node); -GtkTreeNode *gtk_tree_store_node_insert (GtkTreeStore *tree_store, - GtkTreeNode *parent, - gint position, - GtkTreeNode *node); -GtkTreeNode *gtk_tree_store_node_insert_before (GtkTreeStore *tree_store, - GtkTreeNode *parent, - GtkTreeNode *sibling, - GtkTreeNode *node); -GtkTreeNode *gtk_tree_store_node_insert_after (GtkTreeStore *tree_store, - GtkTreeNode *parent, - GtkTreeNode *sibling, - GtkTreeNode *node); -GtkTreeNode *gtk_tree_store_node_prepend (GtkTreeStore *tree_store, - GtkTreeNode *parent, - GtkTreeNode *node); -GtkTreeNode *gtk_tree_store_node_append (GtkTreeStore *tree_store, - GtkTreeNode *parent, - GtkTreeNode *node); -GtkTreeNode *gtk_tree_store_node_get_root (GtkTreeStore *tree_store); -gboolean gtk_tree_store_node_is_ancestor (GtkTreeStore *tree_store, - GtkTreeNode *node, - GtkTreeNode *descendant); -gint gtk_tree_store_node_depth (GtkTreeStore *tree_store, - GtkTreeNode *node); #ifdef __cplusplus |