From 0ccb3e9aed43a9c2a8b77f7af5c29f4e23b4698d Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Fri, 27 Oct 2000 23:34:58 +0000 Subject: Not sure how this ever worked. Fixed it to use new iter stuff, and added Fri Oct 27 17:56:26 2000 Jonathan Blandford * gtk/gtkliststore.c: Not sure how this ever worked. Fixed it to use new iter stuff, and added all the appropriate signals et al. * gtk/gtktreedatalist.h: s/gtk/_gtk to further reinforce that this code is internal to gtk only. --- gtk/gtkliststore.h | 77 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 40 insertions(+), 37 deletions(-) (limited to 'gtk/gtkliststore.h') diff --git a/gtk/gtkliststore.h b/gtk/gtkliststore.h index 4bb562b32d..dc91fa5672 100644 --- a/gtk/gtkliststore.h +++ b/gtk/gtkliststore.h @@ -52,45 +52,48 @@ struct _GtkListStoreClass /* signals */ /* Will be moved into the GtkTreeModelIface eventually */ - void (* changed) (GtkTreeModel *tree_model, - GtkTreePath *path, - GtkTreeIter *iter); - void (* inserted) (GtkTreeModel *tree_model, - GtkTreePath *path, - GtkTreeIter *iter); - void (* child_toggled) (GtkTreeModel *tree_model, - GtkTreePath *path, - GtkTreeIter *iter); - void (* deleted) (GtkTreeModel *tree_model, - GtkTreePath *path); + void (* changed) (GtkTreeModel *tree_model, + GtkTreePath *path, + GtkTreeIter *iter); + void (* inserted) (GtkTreeModel *tree_model, + GtkTreePath *path, + GtkTreeIter *iter); + void (* child_toggled) (GtkTreeModel *tree_model, + GtkTreePath *path, + GtkTreeIter *iter); + void (* deleted) (GtkTreeModel *tree_model, + GtkTreePath *path); }; -GtkType gtk_list_store_get_type (void); -GtkObject *gtk_list_store_new (void); -GtkObject *gtk_list_store_new_with_types (gint n_columns, - ...); -void gtk_list_store_set_n_columns (GtkListStore *store, - gint n_columns); -void gtk_list_store_set_column_type (GtkListStore *store, - gint column, - GType type); -GtkTreeIter *gtk_list_store_node_new (void); -void gtk_list_store_node_set_cell (GtkListStore *store, - GtkTreeIter *iter, - gint column, - GValue *value); -void gtk_list_store_node_remove (GtkListStore *store, - GtkTreeIter *iter); -GtkTreeIter *gtk_list_store_node_insert (GtkListStore *store, - gint position, - GtkTreeIter *iter); -GtkTreeIter *gtk_list_store_node_insert_before (GtkListStore *store, - GtkTreeIter sibling, - GtkTreeIter *iter); -GtkTreeIter *gtk_list_store_node_prepend (GtkListStore *store, - GtkTreeIter *iter); -GtkTreeIter *gtk_list_store_node_append (GtkListStore *store, - GtkTreeIter *iter); + +GtkType gtk_list_store_get_type (void); +GtkListStore *gtk_list_store_new (void); +GtkListStore *gtk_list_store_new_with_types (gint n_columns, + ...); +void gtk_list_store_set_n_columns (GtkListStore *store, + gint n_columns); +void gtk_list_store_set_column_type (GtkListStore *store, + gint column, + GType type); +void gtk_list_store_set_cell (GtkListStore *store, + GtkTreeIter *iter, + gint column, + GValue *value); +void gtk_list_store_remove (GtkListStore *store, + GtkTreeIter *iter); +void gtk_list_store_insert (GtkListStore *store, + GtkTreeIter *iter, + gint position); +void gtk_list_store_insert_before (GtkListStore *store, + GtkTreeIter *iter, + GtkTreeIter *sibling); +void gtk_list_store_insert_after (GtkListStore *store, + GtkTreeIter *iter, + GtkTreeIter *sibling); +void gtk_list_store_prepend (GtkListStore *store, + GtkTreeIter *iter); +void gtk_list_store_append (GtkListStore *store, + GtkTreeIter *iter); -- cgit v1.2.1