summaryrefslogtreecommitdiff
path: root/examples/eventbox/eventbox.c
diff options
context:
space:
mode:
authorGMT 1999 Tony Gale <gale@gtk.org>1999-01-28 10:35:40 +0000
committerTony Gale <gale@src.gnome.org>1999-01-28 10:35:40 +0000
commita2dafdfc88dbaaaf67c3971372da4a5b8b63ec2b (patch)
treeb16f8940a58bbe8d25bcf5f3112fbcb3c682952b /examples/eventbox/eventbox.c
parenta70005873773b8b3214b2a54818990db517fbaa9 (diff)
downloadgdk-pixbuf-a2dafdfc88dbaaaf67c3971372da4a5b8b63ec2b.tar.gz
- Replace all uses of deprecated functions. - Replace menufactory example
Thu Jan 28 10:16:28 GMT 1999 Tony Gale <gale@gtk.org> * docs/gtk_tut.sgml: - Replace all uses of deprecated functions. - Replace menufactory example with itemfactory example from Nick Scott <mendigo@geocities.com> - Minor bug fixes in the examples.
Diffstat (limited to 'examples/eventbox/eventbox.c')
-rw-r--r--examples/eventbox/eventbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/eventbox/eventbox.c b/examples/eventbox/eventbox.c
index b902cc1f4..f6b34bb3b 100644
--- a/examples/eventbox/eventbox.c
+++ b/examples/eventbox/eventbox.c
@@ -18,7 +18,7 @@ main (int argc, char *argv[])
gtk_signal_connect (GTK_OBJECT (window), "destroy",
GTK_SIGNAL_FUNC (gtk_exit), NULL);
- gtk_container_border_width (GTK_CONTAINER (window), 10);
+ gtk_container_set_border_width (GTK_CONTAINER (window), 10);
/* Create an EventBox and add it to our toplevel window */
@@ -49,6 +49,6 @@ main (int argc, char *argv[])
gtk_main ();
- return 0;
+ return(0);
}
/* example-end */