summaryrefslogtreecommitdiff
path: root/tests/testtreeview.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-03-08 22:38:59 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-03-08 22:38:59 +0000
commitbd10a077cd30cbcb9e4be5cd6215473a40dd0fcf (patch)
tree82cf883a61e21ec3319770dffa449959b01bf0a6 /tests/testtreeview.c
parentce9d9a4a56ae14e8da30a346461bc243e5959eb8 (diff)
downloadgtk+-bd10a077cd30cbcb9e4be5cd6215473a40dd0fcf.tar.gz
add support for invisible cells. (gtk_tree_view_bin_expose): ditto
Thu Mar 8 17:40:09 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon): add support for invisible cells. (gtk_tree_view_bin_expose): ditto also, forgot to commit tests/testtreeview.c last commit
Diffstat (limited to 'tests/testtreeview.c')
-rw-r--r--tests/testtreeview.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/testtreeview.c b/tests/testtreeview.c
index eea9d5c852..7a61d1633a 100644
--- a/tests/testtreeview.c
+++ b/tests/testtreeview.c
@@ -600,7 +600,7 @@ create_tree_model (void)
t[6], t[7], t[8]);
i = 0;
- while (i < G_TYPE_LAST_RESERVED_FUNDAMENTAL)
+ while (i < G_TYPE_RESERVED_LAST_FUNDAMENTAL)
{
typesystem_recurse (i, NULL, store);
@@ -1095,7 +1095,7 @@ gtk_real_model_types_iter_next (GtkTreeModel *tree_model,
if (parent == G_TYPE_INVALID)
{
/* fundamental type, add 1 */
- if ((type + 1) < G_TYPE_LAST_RESERVED_FUNDAMENTAL)
+ if ((type + 1) < G_TYPE_RESERVED_LAST_FUNDAMENTAL)
{
iter->user_data = GINT_TO_POINTER (type + 1);
return TRUE;
@@ -1183,7 +1183,7 @@ gtk_real_model_types_iter_n_children (GtkTreeModel *tree_model,
{
if (iter == NULL)
{
- return G_TYPE_LAST_RESERVED_FUNDAMENTAL - 1;
+ return G_TYPE_RESERVED_LAST_FUNDAMENTAL - 1;
}
else
{
@@ -1210,7 +1210,7 @@ gtk_real_model_types_iter_nth_child (GtkTreeModel *tree_model,
if (parent == NULL)
{
/* fundamental type */
- if (n < G_TYPE_LAST_RESERVED_FUNDAMENTAL)
+ if (n < G_TYPE_RESERVED_LAST_FUNDAMENTAL)
{
iter->user_data = GINT_TO_POINTER (n);
return TRUE;
@@ -1258,7 +1258,7 @@ gtk_real_model_types_iter_parent (GtkTreeModel *tree_model,
if (parent == G_TYPE_INVALID)
{
- if (type >= G_TYPE_LAST_RESERVED_FUNDAMENTAL)
+ if (type >= G_TYPE_RESERVED_LAST_FUNDAMENTAL)
g_warning ("no parent for %d %s\n", type, g_type_name (type));
return FALSE;
}