summaryrefslogtreecommitdiff
path: root/examples/rulers/rulers.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/rulers/rulers.c
parenta70005873773b8b3214b2a54818990db517fbaa9 (diff)
downloadgtk+-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/rulers/rulers.c')
-rw-r--r--examples/rulers/rulers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rulers/rulers.c b/examples/rulers/rulers.c
index 014d6be22f..41260c6bc8 100644
--- a/examples/rulers/rulers.c
+++ b/examples/rulers/rulers.c
@@ -22,7 +22,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( close_application ), NULL);
- gtk_container_border_width (GTK_CONTAINER (window), 10);
+ gtk_container_set_border_width (GTK_CONTAINER (window), 10);
/* Create a table for placing the ruler and the drawing area */
table = gtk_table_new( 3, 2, FALSE );