summaryrefslogtreecommitdiff
path: root/gtk/gtktree.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-03-16 20:12:40 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-03-16 20:12:40 +0000
commit52658cd3dc2ec01fe9cfcb5f9253b00febc8e039 (patch)
tree8e6c0e02a5385ef57bc341284d4c4bbc7e467d7d /gtk/gtktree.c
parente7a21a2eec40ddb38e4b27b4fe818dbd20351259 (diff)
downloadgdk-pixbuf-52658cd3dc2ec01fe9cfcb5f9253b00febc8e039.tar.gz
Applied patch from Nils Barth (bug # 51041) to replace "gint" with
2001-03-16 Havoc Pennington <hp@redhat.com> * Applied patch from Nils Barth (bug # 51041) to replace "gint" with "gboolean" and 0/1 with TRUE/FALSE in various places.
Diffstat (limited to 'gtk/gtktree.c')
-rw-r--r--gtk/gtktree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktree.c b/gtk/gtktree.c
index 114e6ea32..368eb0e7d 100644
--- a/gtk/gtktree.c
+++ b/gtk/gtktree.c
@@ -178,7 +178,7 @@ gtk_tree_init (GtkTree *tree)
tree->current_indent = 0;
tree->level = 0;
tree->view_mode = GTK_TREE_VIEW_LINE;
- tree->view_line = 1;
+ tree->view_line = TRUE;
}
GtkWidget*
@@ -1194,7 +1194,7 @@ gtk_tree_set_view_mode (GtkTree *tree,
void
gtk_tree_set_view_lines (GtkTree *tree,
- guint flag)
+ gboolean flag)
{
g_return_if_fail (tree != NULL);
g_return_if_fail (GTK_IS_TREE (tree));