From a2dafdfc88dbaaaf67c3971372da4a5b8b63ec2b Mon Sep 17 00:00:00 2001 From: GMT 1999 Tony Gale Date: Thu, 28 Jan 1999 10:35:40 +0000 Subject: - Replace all uses of deprecated functions. - Replace menufactory example Thu Jan 28 10:16:28 GMT 1999 Tony Gale * docs/gtk_tut.sgml: - Replace all uses of deprecated functions. - Replace menufactory example with itemfactory example from Nick Scott - Minor bug fixes in the examples. --- examples/list/list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/list') diff --git a/examples/list/list.c b/examples/list/list.c index 2cc4092b21..0a7147dc6b 100644 --- a/examples/list/list.c +++ b/examples/list/list.c @@ -61,7 +61,7 @@ gint main (int argc, /* Inside the window we need a box to arrange the widgets * vertically */ vbox=gtk_vbox_new(FALSE, 5); - gtk_container_border_width(GTK_CONTAINER(vbox), 5); + gtk_container_set_border_width(GTK_CONTAINER(vbox), 5); gtk_container_add(GTK_CONTAINER(window), vbox); gtk_widget_show(vbox); @@ -88,7 +88,7 @@ gint main (int argc, /* We create a "Prison" to put a list item in ;) */ frame=gtk_frame_new("Prison"); gtk_widget_set_usize(frame, 200, 50); - gtk_container_border_width(GTK_CONTAINER(frame), 5); + gtk_container_set_border_width(GTK_CONTAINER(frame), 5); gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_OUT); gtk_container_add(GTK_CONTAINER(vbox), frame); gtk_widget_show(frame); -- cgit v1.2.1