diff options
author | Jonathan Blandford <jrb@redhat.com> | 2001-09-12 23:16:18 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2001-09-12 23:16:18 +0000 |
commit | fc8304b13465e9aca2b01353dae5e0084032504c (patch) | |
tree | 639f37313ff77a7ac2970e376afe6f013e82abff /tests/testtreecolumns.c | |
parent | 15a544def86a4a34867732e95544ffbb91aadb08 (diff) | |
download | gtk+-fc8304b13465e9aca2b01353dae5e0084032504c.tar.gz |
Rename interface signals to make them more clear. Also, change
Wed Sep 12 19:01:05 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.h (struct _GtkTreeModelIface): Rename interface
signals to make them more clear. Also, change ::range_changed to
::row_changed.
* gtk/gtktreemodel.c: Adjust to interface change
* gtk/gtktreemodel.h: ditto
* gtk/gtktreemodelsort.c: ditto
* gtk/gtktreestore.c: ditto
* gtk/gtkliststore.c: ditto
* gtk/gtktreeview.c: ditto
* tests/testtreecolumns.c: ditto
* gtk/gtkmarshal.list: Actually remove a marshaller!
Diffstat (limited to 'tests/testtreecolumns.c')
-rw-r--r-- | tests/testtreecolumns.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/testtreecolumns.c b/tests/testtreecolumns.c index 603ce8a610..f0468ca6a8 100644 --- a/tests/testtreecolumns.c +++ b/tests/testtreecolumns.c @@ -312,14 +312,14 @@ update_columns (GtkTreeView *view, ViewColumnModel *view_model) if (length < old_length) { view_model->stamp++; - gtk_tree_model_deleted (GTK_TREE_MODEL (view_model), path); + gtk_tree_model_row_deleted (GTK_TREE_MODEL (view_model), path); } else { GtkTreeIter iter; iter.stamp = view_model->stamp; iter.user_data = b; - gtk_tree_model_inserted (GTK_TREE_MODEL (view_model), path, &iter); + gtk_tree_model_row_inserted (GTK_TREE_MODEL (view_model), path, &iter); } gtk_tree_path_free (path); } @@ -376,10 +376,10 @@ update_columns (GtkTreeView *view, ViewColumnModel *view_model) } path = gtk_tree_path_new (); - gtk_tree_model_reordered (GTK_TREE_MODEL (view_model), - path, - NULL, - new_order); + gtk_tree_model_rows_reordered (GTK_TREE_MODEL (view_model), + path, + NULL, + new_order); gtk_tree_path_free (path); g_free (new_order); } @@ -464,7 +464,7 @@ set_visible (GtkCellRendererToggle *cell, if (column) { gtk_tree_view_column_set_visible (column, ! gtk_tree_view_column_get_visible (column)); - gtk_tree_model_range_changed (model, path, &iter, path, &iter); + gtk_tree_model_row_changed (model, path, &iter); } gtk_tree_path_free (path); } |