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/gtktreeselection.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/gtktreeselection.h')
-rw-r--r-- | gtk/gtktreeselection.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk/gtktreeselection.h b/gtk/gtktreeselection.h index 7ea4e38289..61849016b0 100644 --- a/gtk/gtktreeselection.h +++ b/gtk/gtktreeselection.h @@ -45,7 +45,7 @@ typedef gboolean (* GtkTreeSelectionFunc) (GtkTreeSelection *selection, GtkTreePath *path, gpointer data); typedef void (* GtkTreeSelectionForeachFunc) (GtkTreeModel *model, - GtkTreeNode *node, + GtkTreeNode node, gpointer data); struct _GtkTreeSelection @@ -78,7 +78,8 @@ gpointer gtk_tree_selection_get_user_data (GtkTreeSelection /* Only meaningful if GTK_TREE_SELECTION_SINGLE is set */ /* Use selected_foreach for GTK_TREE_SELECTION_MULTI */ -GtkTreeNode *gtk_tree_selection_get_selected (GtkTreeSelection *selection); +GtkTreeNode gtk_tree_selection_get_selected (GtkTreeSelection *selection); + /* FIXME: Get a more convenient get_selection function???? one returning GSList?? */ void gtk_tree_selection_selected_foreach (GtkTreeSelection *selection, GtkTreeSelectionForeachFunc func, @@ -88,9 +89,9 @@ void gtk_tree_selection_select_path (GtkTreeSelection void gtk_tree_selection_unselect_path (GtkTreeSelection *selection, GtkTreePath *path); void gtk_tree_selection_select_node (GtkTreeSelection *selection, - GtkTreeNode *tree_node); + GtkTreeNode tree_node); void gtk_tree_selection_unselect_node (GtkTreeSelection *selection, - GtkTreeNode *tree_node); + GtkTreeNode tree_node); void gtk_tree_selection_select_all (GtkTreeSelection *selection); void gtk_tree_selection_unselect_all (GtkTreeSelection *selection); void gtk_tree_selection_select_range (GtkTreeSelection *selection, @@ -103,6 +104,7 @@ GtkObject *gtk_tree_selection_new_with_tree_view (GtkTreeView void gtk_tree_selection_set_tree_view (GtkTreeSelection *selection, GtkTreeView *tree_view); + #ifdef __cplusplus } #endif /* __cplusplus */ |