]> Pileus Git - ~andy/gtk/blobdiff - examples/packbox/packbox.c
- Replace all uses of deprecated functions. - Replace menufactory example
[~andy/gtk] / examples / packbox / packbox.c
index 11137223443ee8bc39c169c944259f16a043f628..ba67b9505fd8343af53eb6c6d813ee2c67966bbd 100644 (file)
@@ -96,7 +96,7 @@ int main( int   argc,
      * behavior */
     gtk_signal_connect (GTK_OBJECT (window), "delete_event",
                        GTK_SIGNAL_FUNC (delete_event), NULL);
-    gtk_container_border_width (GTK_CONTAINER (window), 10);
+    gtk_container_set_border_width (GTK_CONTAINER (window), 10);
     
     /* We create a vertical box (vbox) to pack the horizontal boxes into.
      * This allows us to stack the horizontal boxes filled with buttons one