summaryrefslogtreecommitdiff
path: root/examples/tree/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tree/tree.c')
-rw-r--r--examples/tree/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tree/tree.c b/examples/tree/tree.c
index d709300fa9..3ac6a4cb28 100644
--- a/examples/tree/tree.c
+++ b/examples/tree/tree.c
@@ -71,7 +71,7 @@ int main (int argc, char *argv[])
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_signal_connect (GTK_OBJECT(window), "delete_event",
GTK_SIGNAL_FUNC (gtk_main_quit), NULL);
- gtk_container_border_width (GTK_CONTAINER(window), 5);
+ gtk_container_set_border_width (GTK_CONTAINER(window), 5);
/* A generic scrolled window */
scrolled_win = gtk_scrolled_window_new (NULL, NULL);