summaryrefslogtreecommitdiff
path: root/examples/helloworld2/helloworld2.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/helloworld2/helloworld2.c')
-rw-r--r--examples/helloworld2/helloworld2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/helloworld2/helloworld2.c b/examples/helloworld2/helloworld2.c
index 6954333a53..a525aa3ebc 100644
--- a/examples/helloworld2/helloworld2.c
+++ b/examples/helloworld2/helloworld2.c
@@ -43,7 +43,7 @@ int main( int argc,
GTK_SIGNAL_FUNC (delete_event), NULL);
/* Sets the border width of the window. */
- gtk_container_border_width (GTK_CONTAINER (window), 10);
+ gtk_container_set_border_width (GTK_CONTAINER (window), 10);
/* We create a box to pack widgets into. This is described in detail
* in the "packing" section. The box is not really visible, it