[goocanvas/wip/murrayc/gtk4] gkt4: demo: Adjust calls to gtk_box_pack_start().



commit d13f662385026d4bd8576d51d44b684d02d2e68f
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Dec 15 14:55:31 2016 +0100

    gkt4: demo: Adjust calls to gtk_box_pack_start().
    
    The last parameter (which was always 0) has been removed:
    https://git.gnome.org/browse/gtk+/commit/gtk/gtkbox.c?id=f45dadadd00d892ba16dc081240987425bc32346

 demo/demo-animation.c           |    8 ++--
 demo/demo-arrowhead.c           |    4 +-
 demo/demo-clipping.c            |    2 +-
 demo/demo-events.c              |    4 +-
 demo/demo-features.c            |    4 +-
 demo/demo-fifteen.c             |    4 +-
 demo/demo-focus.c               |    4 +-
 demo/demo-grabs.c               |    4 +-
 demo/demo-large-items.c         |   10 +++---
 demo/demo-paths.c               |    7 ++--
 demo/demo-scalability.c         |    2 +-
 demo/demo-table.c               |    2 +-
 demo/demo.c                     |   62 +++++++++++++++++++-------------------
 demo/generic-position-demo.c    |    4 +-
 demo/mv-demo-animation.c        |    8 ++--
 demo/mv-demo-arrowhead.c        |    4 +-
 demo/mv-demo-clipping.c         |    2 +-
 demo/mv-demo-events.c           |    5 +--
 demo/mv-demo-features.c         |    4 +-
 demo/mv-demo-fifteen.c          |    4 +-
 demo/mv-demo-focus.c            |    4 +-
 demo/mv-demo-grabs.c            |    4 +-
 demo/mv-demo-paths.c            |    6 ++--
 demo/mv-demo-scalability.c      |    2 +-
 demo/mv-demo-table.c            |    2 +-
 demo/mv-demo.c                  |   52 ++++++++++++++++----------------
 demo/mv-generic-position-demo.c |    4 +-
 demo/mv-table-demo.c            |    8 ++--
 demo/table-demo.c               |    9 ++---
 demo/units-demo.c               |    8 ++--
 demo/widgets-demo.c             |   32 ++++++++++----------
 31 files changed, 138 insertions(+), 141 deletions(-)
---
diff --git a/demo/demo-animation.c b/demo/demo-animation.c
index d74c128..43574a5 100644
--- a/demo/demo-animation.c
+++ b/demo/demo-animation.c
@@ -117,17 +117,17 @@ create_animation_page (void)
   gtk_widget_show (vbox);
 
   hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
-  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE);
   gtk_widget_show (hbox);
 
   w = gtk_button_new_with_label("Start Animation");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
   g_signal_connect (w, "clicked", G_CALLBACK (start_animation_clicked),
                    NULL);
 
   w = gtk_button_new_with_label("Stop Animation");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
   g_signal_connect (w, "clicked", G_CALLBACK (stop_animation_clicked),
                    NULL);
@@ -137,7 +137,7 @@ create_animation_page (void)
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                       GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = goo_canvas_new ();
   gtk_widget_set_size_request (canvas, 600, 450);
diff --git a/demo/demo-arrowhead.c b/demo/demo-arrowhead.c
index 00488e6..9e82cad 100644
--- a/demo/demo-arrowhead.c
+++ b/demo/demo-arrowhead.c
@@ -419,12 +419,12 @@ create_canvas_arrowhead (void)
        w = gtk_label_new ("This demo allows you to edit arrowhead shapes.  Drag the little boxes\n"
                           "to change the shape of the line and its arrowhead.  You can see the\n"
                           "arrows at their normal scale on the right hand side of the window.");
-       gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
        frame = gtk_frame_new (NULL);
        gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_IN);
-       gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE);
        gtk_widget_show (frame);
 
        g_object_set (frame,
diff --git a/demo/demo-clipping.c b/demo/demo-clipping.c
index 404bac7..dd2b2bb 100644
--- a/demo/demo-clipping.c
+++ b/demo/demo-clipping.c
@@ -144,7 +144,7 @@ create_clipping_page (void)
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                       GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = goo_canvas_new ();
   gtk_widget_set_size_request (canvas, 600, 450);
diff --git a/demo/demo-events.c b/demo/demo-events.c
index adae8e3..7325230 100644
--- a/demo/demo-events.c
+++ b/demo/demo-events.c
@@ -135,14 +135,14 @@ create_events_page (void)
   /* Instructions */
 
   label = gtk_label_new ("Move the mouse over the items to check they receive the right motion events.\nThe 
first 2 items in each group are 1) invisible and 2) visible but unpainted.");
-  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE);
   gtk_widget_show (label);
 
   /* Frame and canvas */
 
   frame = gtk_frame_new (NULL);
   gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_IN);
-  gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE);
   gtk_widget_show (frame);
 
   g_object_set (frame,
diff --git a/demo/demo-features.c b/demo/demo-features.c
index 939eb04..8bf4ecb 100644
--- a/demo/demo-features.c
+++ b/demo/demo-features.c
@@ -57,14 +57,14 @@ create_canvas_features (void)
        /* Instructions */
 
        w = gtk_label_new ("Reparent test:  click on the items to switch them between parents");
-       gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
        /* Frame and canvas */
 
        frame = gtk_frame_new (NULL);
        gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_IN);
-       gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE);
        gtk_widget_show (frame);
 
        g_object_set (frame,
diff --git a/demo/demo-fifteen.c b/demo/demo-fifteen.c
index 877dcde..3622939 100644
--- a/demo/demo-fifteen.c
+++ b/demo/demo-fifteen.c
@@ -247,7 +247,7 @@ create_canvas_fifteen (void)
 
        frame = gtk_frame_new (NULL);
        gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_IN);
-       gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE);
        gtk_widget_show (frame);
 
        g_object_set (frame,
@@ -316,7 +316,7 @@ create_canvas_fifteen (void)
        /* Scramble button */
 
        button = gtk_button_new_with_label ("Scramble");
-       gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE);
        g_object_set_data (G_OBJECT (button), "board", board);
        g_signal_connect (button, "clicked",
                          G_CALLBACK (scramble),
diff --git a/demo/demo-focus.c b/demo/demo-focus.c
index fe2cafb..f57556f 100644
--- a/demo/demo-focus.c
+++ b/demo/demo-focus.c
@@ -142,14 +142,14 @@ create_focus_page (void)
   gtk_widget_show (vbox);
 
   label = gtk_label_new ("Use Tab, Shift+Tab or the arrow keys to move the keyboard focus between the canvas 
items.");
-  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE);
   gtk_widget_show (label);
 
   scrolled_win = gtk_scrolled_window_new (NULL, NULL);
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                       GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = goo_canvas_new ();
   gtk_widget_set_can_focus (canvas, TRUE);
diff --git a/demo/demo-grabs.c b/demo/demo-grabs.c
index 55e86f5..a27740b 100644
--- a/demo/demo-grabs.c
+++ b/demo/demo-grabs.c
@@ -403,13 +403,13 @@ create_grabs_page (void)
   gtk_widget_show (vbox);
 
   label = gtk_label_new ("Move the mouse over the widgets and canvas items on the right to see what events 
they receive.\nClick buttons to start explicit or implicit pointer grabs and see what events they receive 
now.\n(They should all receive the same events.)");
-  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE);
   gtk_widget_show (label);
 
   grid = gtk_grid_new ();
   gtk_grid_set_row_spacing (GTK_GRID (grid), 12);
   gtk_grid_set_column_spacing (GTK_GRID (grid), 12);
-  gtk_box_pack_start (GTK_BOX (vbox), grid, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), grid, FALSE, FALSE);
   g_object_set (grid, "halign", GTK_ALIGN_CENTER, NULL);
   gtk_widget_show (grid);
 
diff --git a/demo/demo-large-items.c b/demo/demo-large-items.c
index 9f53486..6eacebe 100644
--- a/demo/demo-large-items.c
+++ b/demo/demo-large-items.c
@@ -74,18 +74,18 @@ create_large_items_page (void)
                          CANVAS_RIGHT, CANVAS_BOTTOM, MAX_ZOOM);
   w = gtk_label_new (text);
   g_free (text);
-  gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE);
   gtk_widget_show (w);
 
   hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
-  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE);
   gtk_widget_show (hbox);
 
   scrolled_win = gtk_scrolled_window_new (NULL, NULL);
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                       GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   /* Create the canvas. */
   canvas = goo_canvas_new ();
@@ -139,7 +139,7 @@ create_large_items_page (void)
 
   /* Zoom */
   w = gtk_label_new ("Zoom:");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
 
   adj = GTK_ADJUSTMENT (gtk_adjustment_new (1.00, 0.05, 10.00, 0.05, 0.50, 0.50));
@@ -148,7 +148,7 @@ create_large_items_page (void)
                    G_CALLBACK (zoom_changed),
                    canvas);
   gtk_widget_set_size_request (w, 50, -1);
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
 
   return vbox;
diff --git a/demo/demo-paths.c b/demo/demo-paths.c
index acd08ef..434ca71 100644
--- a/demo/demo-paths.c
+++ b/demo/demo-paths.c
@@ -150,18 +150,17 @@ create_paths_page (void)
   GtkWidget *vbox, *hbox, *w, *scrolled_win, *canvas;
 
   vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 4);
-  gtk_container_set_border_width (GTK_CONTAINER (vbox), 4);
   gtk_widget_show (vbox);
 
   hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
-  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE);
   gtk_widget_show (hbox);
 
   scrolled_win = gtk_scrolled_window_new (NULL, NULL);
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                       GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = goo_canvas_new ();
   gtk_widget_set_size_request (canvas, 600, 450);
@@ -172,7 +171,7 @@ create_paths_page (void)
   setup_canvas (canvas);
 
   w = gtk_button_new_with_label ("Move Path");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
   g_signal_connect (w, "clicked",
                    G_CALLBACK (move_path_clicked), canvas);
diff --git a/demo/demo-scalability.c b/demo/demo-scalability.c
index d249816..c0d742c 100644
--- a/demo/demo-scalability.c
+++ b/demo/demo-scalability.c
@@ -50,7 +50,7 @@ create_canvas_scalability (void)
        gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                             GTK_SHADOW_IN);
        gtk_widget_show (scrolled_win);
-       gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
        gtk_container_add (GTK_CONTAINER (scrolled_win), canvas);
 
 
diff --git a/demo/demo-table.c b/demo/demo-table.c
index 325c602..8ffae1d 100644
--- a/demo/demo-table.c
+++ b/demo/demo-table.c
@@ -387,7 +387,7 @@ create_table_page (void)
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                       GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = goo_canvas_new ();
   gtk_widget_set_size_request (canvas, 600, 450);
diff --git a/demo/demo.c b/demo/demo.c
index 1d55ed5..7d10be5 100644
--- a/demo/demo.c
+++ b/demo/demo.c
@@ -477,11 +477,11 @@ create_canvas_primitives ()
        gtk_widget_show (vbox);
 
        w = gtk_label_new ("Drag an item with button 1.  Click button 2 on an item to lower it, or button 3 
to raise it.");
-       gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
        hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
-       gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE);
        gtk_widget_show (hbox);
 
        /* Create the canvas */
@@ -502,7 +502,7 @@ create_canvas_primitives ()
        /* Scale */
 
        w = gtk_label_new ("Scale:");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
        adj = GTK_ADJUSTMENT (gtk_adjustment_new (1.00, 0.05, 50.00, 0.05, 0.50, 0.50));
@@ -511,12 +511,12 @@ create_canvas_primitives ()
                          G_CALLBACK (zoom_changed),
                          canvas);
        gtk_widget_set_size_request (w, 50, -1);
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
 
        w = gtk_label_new ("Scale X:");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
        adj = GTK_ADJUSTMENT (gtk_adjustment_new (1.00, 0.05, 50.00, 0.05, 0.50, 0.50));
@@ -525,12 +525,12 @@ create_canvas_primitives ()
                          G_CALLBACK (zoom_x_changed),
                          canvas);
        gtk_widget_set_size_request (w, 50, -1);
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
 
        w = gtk_label_new ("Scale Y:");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
        adj = GTK_ADJUSTMENT (gtk_adjustment_new (1.00, 0.05, 50.00, 0.05, 0.50, 0.50));
@@ -539,18 +539,18 @@ create_canvas_primitives ()
                          G_CALLBACK (zoom_y_changed),
                          canvas);
        gtk_widget_set_size_request (w, 50, -1);
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
 
        hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
-       gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE);
        gtk_widget_show (hbox);
 
        /* Center: */
        
        w = gtk_check_button_new_with_label("Center scroll region");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        /*gtk_widget_show (w);*/
        g_signal_connect (w, "toggled",
                          G_CALLBACK (center_toggled),
@@ -559,7 +559,7 @@ create_canvas_primitives ()
        /* Move Ellipse */
 
        w = gtk_button_new_with_label("Move Ellipse");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "clicked",
                          G_CALLBACK (move_ellipse_clicked),
@@ -568,7 +568,7 @@ create_canvas_primitives ()
        /* Animate Ellipse */
 
        w = gtk_button_new_with_label("Animate Ellipse");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "clicked",
                          G_CALLBACK (animate_ellipse_clicked),
@@ -577,7 +577,7 @@ create_canvas_primitives ()
        /* Stop Animation */
 
        w = gtk_button_new_with_label("Stop Animation");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "clicked",
                          G_CALLBACK (stop_animation_clicked),
@@ -588,7 +588,7 @@ create_canvas_primitives ()
        /* Create PDF */
 
        w = gtk_button_new_with_label("Write PDF");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "clicked",
                          G_CALLBACK (write_pdf_clicked),
@@ -596,38 +596,38 @@ create_canvas_primitives ()
 #endif
 
        w = gtk_button_new_with_label("Change Bounds");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "clicked",
                          G_CALLBACK (change_bounds_clicked),
                          canvas);
 
        hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
-       gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE);
        gtk_widget_show (hbox);
 
        /* Scroll to */
 
        w = gtk_label_new ("Scroll To:");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
        w = gtk_button_new_with_label("50,50");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "clicked",
                          G_CALLBACK (scroll_to_50_50_clicked),
                          canvas);
 
        w = gtk_button_new_with_label("250,250");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "clicked",
                          G_CALLBACK (scroll_to_250_250_clicked),
                          canvas);
 
        w = gtk_button_new_with_label("500,500");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "clicked",
                          G_CALLBACK (scroll_to_500_500_clicked),
@@ -636,12 +636,12 @@ create_canvas_primitives ()
        /* Scroll anchor */
 
        w = gtk_label_new ("Anchor:");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
        w = gtk_radio_button_new_with_label (group, "NW");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -651,7 +651,7 @@ create_canvas_primitives ()
 
        w = gtk_radio_button_new_with_label (group, "N");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -661,7 +661,7 @@ create_canvas_primitives ()
 
        w = gtk_radio_button_new_with_label (group, "NE");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -671,7 +671,7 @@ create_canvas_primitives ()
 
        w = gtk_radio_button_new_with_label (group, "W");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -681,7 +681,7 @@ create_canvas_primitives ()
 
        w = gtk_radio_button_new_with_label (group, "C");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -691,7 +691,7 @@ create_canvas_primitives ()
 
        w = gtk_radio_button_new_with_label (group, "E");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -701,7 +701,7 @@ create_canvas_primitives ()
 
        w = gtk_radio_button_new_with_label (group, "SW");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -711,7 +711,7 @@ create_canvas_primitives ()
 
        w = gtk_radio_button_new_with_label (group, "S");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -721,7 +721,7 @@ create_canvas_primitives ()
 
        w = gtk_radio_button_new_with_label (group, "SE");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -734,7 +734,7 @@ create_canvas_primitives ()
 
        scrolled_win = gtk_scrolled_window_new (NULL, NULL);
        gtk_widget_show (scrolled_win);
-       gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
        gtk_widget_show (canvas);
        gtk_container_add (GTK_CONTAINER (scrolled_win), canvas);
diff --git a/demo/generic-position-demo.c b/demo/generic-position-demo.c
index 61c0f4e..ae7638f 100644
--- a/demo/generic-position-demo.c
+++ b/demo/generic-position-demo.c
@@ -191,7 +191,7 @@ main (int argc, char *argv[])
 
   label = gtk_label_new ("Use Ctrl+Left Click to move items or Ctrl+Right Click to resize items");
   g_object_set (label, "halign", GTK_ALIGN_START, NULL);
-  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE);
   gtk_widget_show (label);
 
   /* Create top canvas. */
@@ -199,7 +199,7 @@ main (int argc, char *argv[])
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                        GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = goo_canvas_new ();
   g_object_set (G_OBJECT (canvas), "integer-layout", TRUE, NULL);
diff --git a/demo/mv-demo-animation.c b/demo/mv-demo-animation.c
index e9a2e87..980609c 100644
--- a/demo/mv-demo-animation.c
+++ b/demo/mv-demo-animation.c
@@ -116,17 +116,17 @@ create_animation_page (void)
   gtk_widget_show (vbox);
 
   hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
-  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE);
   gtk_widget_show (hbox);
 
   w = gtk_button_new_with_label("Start Animation");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
   g_signal_connect (w, "clicked", G_CALLBACK (start_animation_clicked),
                    NULL);
 
   w = gtk_button_new_with_label("Stop Animation");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
   g_signal_connect (w, "clicked", G_CALLBACK (stop_animation_clicked),
                    NULL);
@@ -136,7 +136,7 @@ create_animation_page (void)
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                       GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = goo_canvas_new ();
   gtk_widget_set_size_request (canvas, 600, 450);
diff --git a/demo/mv-demo-arrowhead.c b/demo/mv-demo-arrowhead.c
index 0b97a24..4e39d54 100644
--- a/demo/mv-demo-arrowhead.c
+++ b/demo/mv-demo-arrowhead.c
@@ -434,12 +434,12 @@ create_canvas_arrowhead (void)
        w = gtk_label_new ("This demo allows you to edit arrowhead shapes.  Drag the little boxes\n"
                           "to change the shape of the line and its arrowhead.  You can see the\n"
                           "arrows at their normal scale on the right hand side of the window.");
-       gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
        frame = gtk_frame_new (NULL);
        gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_IN);
-       gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE);
        gtk_widget_show (frame);
 
        g_object_set (frame,
diff --git a/demo/mv-demo-clipping.c b/demo/mv-demo-clipping.c
index 2e02e3e..85c5cf4 100644
--- a/demo/mv-demo-clipping.c
+++ b/demo/mv-demo-clipping.c
@@ -158,7 +158,7 @@ create_clipping_page (void)
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                       GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = goo_canvas_new ();
   gtk_widget_set_size_request (canvas, 600, 450);
diff --git a/demo/mv-demo-events.c b/demo/mv-demo-events.c
index 6eeac36..9fc71c1 100644
--- a/demo/mv-demo-events.c
+++ b/demo/mv-demo-events.c
@@ -132,20 +132,19 @@ create_events_page (void)
   GooCanvasItemModel *root;
 
   vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 4);
-  gtk_container_set_border_width (GTK_CONTAINER (vbox), 4);
   gtk_widget_show (vbox);
 
   /* Instructions */
 
   label = gtk_label_new ("Move the mouse over the items to check they receive the right motion events.\nThe 
first 2 items in each group are 1) invisible and 2) visible but unpainted.");
-  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE);
   gtk_widget_show (label);
 
   /* Frame and canvas */
 
   frame = gtk_frame_new (NULL);
   gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_IN);
-  gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE);
   gtk_widget_show (frame);
 
   g_object_set (frame,
diff --git a/demo/mv-demo-features.c b/demo/mv-demo-features.c
index e49fe20..3ba1b0e 100644
--- a/demo/mv-demo-features.c
+++ b/demo/mv-demo-features.c
@@ -64,14 +64,14 @@ create_canvas_features (void)
        /* Instructions */
 
        w = gtk_label_new ("Reparent test:  click on the items to switch them between parents");
-       gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
        /* Frame and canvas */
 
        frame = gtk_frame_new (NULL);
        gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_IN);
-       gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE);
        gtk_widget_show (frame);
 
        g_object_set (frame,
diff --git a/demo/mv-demo-fifteen.c b/demo/mv-demo-fifteen.c
index 557ded9..2b7c710 100644
--- a/demo/mv-demo-fifteen.c
+++ b/demo/mv-demo-fifteen.c
@@ -258,7 +258,7 @@ create_canvas_fifteen (void)
 
        frame = gtk_frame_new (NULL);
        gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_IN);
-       gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE);
        gtk_widget_show (frame);
 
        g_object_set (frame,
@@ -325,7 +325,7 @@ create_canvas_fifteen (void)
        /* Scramble button */
 
        button = gtk_button_new_with_label ("Scramble");
-       gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE);
        g_object_set_data (G_OBJECT (button), "board", board);
        g_signal_connect (button, "clicked",
                          G_CALLBACK (scramble),
diff --git a/demo/mv-demo-focus.c b/demo/mv-demo-focus.c
index e2e29c6..31f1f4a 100644
--- a/demo/mv-demo-focus.c
+++ b/demo/mv-demo-focus.c
@@ -157,14 +157,14 @@ create_focus_page (void)
   gtk_widget_show (vbox);
 
   label = gtk_label_new ("Use Tab, Shift+Tab or the arrow keys to move the keyboard focus between the canvas 
items.");
-  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE);
   gtk_widget_show (label);
 
   scrolled_win = gtk_scrolled_window_new (NULL, NULL);
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                       GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = goo_canvas_new ();
   gtk_widget_set_can_focus (canvas, TRUE);
diff --git a/demo/mv-demo-grabs.c b/demo/mv-demo-grabs.c
index a6a23e9..24dceef 100644
--- a/demo/mv-demo-grabs.c
+++ b/demo/mv-demo-grabs.c
@@ -415,13 +415,13 @@ create_grabs_page (void)
   gtk_widget_show (vbox);
 
   label = gtk_label_new ("Move the mouse over the widgets and canvas items on the right to see what events 
they receive.\nClick buttons to start explicit or implicit pointer grabs and see what events they receive 
now.\n(They should all receive the same events.)");
-  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE);
   gtk_widget_show (label);
 
   grid = gtk_grid_new ();
   gtk_grid_set_row_spacing (GTK_GRID (grid), 12);
   gtk_grid_set_column_spacing (GTK_GRID (grid), 12);
-  gtk_box_pack_start (GTK_BOX (vbox), grid, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), grid, FALSE, FALSE);
   g_object_set (grid, "halign", GTK_ALIGN_CENTER, NULL);
   gtk_widget_show (grid);
 
diff --git a/demo/mv-demo-paths.c b/demo/mv-demo-paths.c
index 73c3407..884aead 100644
--- a/demo/mv-demo-paths.c
+++ b/demo/mv-demo-paths.c
@@ -132,14 +132,14 @@ create_paths_page (void)
   gtk_widget_show (vbox);
 
   hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
-  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE);
   gtk_widget_show (hbox);
 
   scrolled_win = gtk_scrolled_window_new (NULL, NULL);
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                       GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = goo_canvas_new ();
   gtk_widget_set_size_request (canvas, 600, 450);
@@ -152,7 +152,7 @@ create_paths_page (void)
   g_object_unref (root);
 
   w = gtk_button_new_with_label ("Move Path");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
   g_signal_connect (w, "clicked",
                    G_CALLBACK (move_path_clicked), canvas);
diff --git a/demo/mv-demo-scalability.c b/demo/mv-demo-scalability.c
index 7b08b25..4d2f326 100644
--- a/demo/mv-demo-scalability.c
+++ b/demo/mv-demo-scalability.c
@@ -51,7 +51,7 @@ create_canvas_scalability (void)
        gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                             GTK_SHADOW_IN);
        gtk_widget_show (scrolled_win);
-       gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
        gtk_container_add (GTK_CONTAINER (scrolled_win), canvas);
 
diff --git a/demo/mv-demo-table.c b/demo/mv-demo-table.c
index 61c675e..7f5985a 100644
--- a/demo/mv-demo-table.c
+++ b/demo/mv-demo-table.c
@@ -390,7 +390,7 @@ create_table_page (void)
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                       GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = (GooCanvas*) goo_canvas_new ();
   gtk_widget_set_size_request ((GtkWidget*) canvas, 600, 450);
diff --git a/demo/mv-demo.c b/demo/mv-demo.c
index 42cd090..ac2ff3b 100644
--- a/demo/mv-demo.c
+++ b/demo/mv-demo.c
@@ -401,11 +401,11 @@ create_canvas_primitives (GooCanvasItemModel *model,
        gtk_widget_show (vbox);
 
        w = gtk_label_new ("Drag an item with button 1.  Click button 2 on an item to lower it, or button 3 
to raise it.");
-       gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
        hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
-       gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE);
        gtk_widget_show (hbox);
 
        /* Create the canvas */
@@ -429,7 +429,7 @@ create_canvas_primitives (GooCanvasItemModel *model,
        /* Zoom */
 
        w = gtk_label_new ("Zoom:");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
        adj = GTK_ADJUSTMENT (gtk_adjustment_new (1.00, 0.05, 50.00, 0.05, 0.50, 0.50));
@@ -438,13 +438,13 @@ create_canvas_primitives (GooCanvasItemModel *model,
                          G_CALLBACK (zoom_changed),
                          canvas);
        gtk_widget_set_size_request (w, 50, -1);
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
        /* Center: */
        
        w = gtk_check_button_new_with_label("Center scroll region");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        /*gtk_widget_show (w);*/
        g_signal_connect (w, "toggled",
                          G_CALLBACK (center_toggled),
@@ -453,7 +453,7 @@ create_canvas_primitives (GooCanvasItemModel *model,
        /* Move Ellipse */
 
        w = gtk_button_new_with_label("Move Ellipse");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "clicked",
                          G_CALLBACK  (move_ellipse_clicked),
@@ -462,7 +462,7 @@ create_canvas_primitives (GooCanvasItemModel *model,
        /* Animate Ellipse */
 
        w = gtk_button_new_with_label("Animate Ellipse");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "clicked",
                          G_CALLBACK (animate_ellipse_clicked),
@@ -471,7 +471,7 @@ create_canvas_primitives (GooCanvasItemModel *model,
        /* Stop Animation */
 
        w = gtk_button_new_with_label("Stop Animation");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "clicked",
                          G_CALLBACK (stop_animation_clicked),
@@ -482,7 +482,7 @@ create_canvas_primitives (GooCanvasItemModel *model,
        /* Create PDF */
 
        w = gtk_button_new_with_label("Write PDF");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "clicked",
                          G_CALLBACK (write_pdf_clicked),
@@ -490,38 +490,38 @@ create_canvas_primitives (GooCanvasItemModel *model,
 #endif
 
        w = gtk_button_new_with_label("Change Bounds");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "clicked",
                          G_CALLBACK (change_bounds_clicked),
                          canvas);
 
        hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
-       gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE);
        gtk_widget_show (hbox);
 
        /* Scroll to */
 
        w = gtk_label_new ("Scroll To:");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
        w = gtk_button_new_with_label("50,50");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "clicked",
                          G_CALLBACK (scroll_to_50_50_clicked),
                          canvas);
 
        w = gtk_button_new_with_label("250,250");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "clicked",
                          G_CALLBACK (scroll_to_250_250_clicked),
                          canvas);
 
        w = gtk_button_new_with_label("500,500");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "clicked",
                          G_CALLBACK (scroll_to_500_500_clicked),
@@ -530,12 +530,12 @@ create_canvas_primitives (GooCanvasItemModel *model,
        /* Scroll anchor */
 
        w = gtk_label_new ("Anchor:");
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
 
        w = gtk_radio_button_new_with_label (group, "NW");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -545,7 +545,7 @@ create_canvas_primitives (GooCanvasItemModel *model,
 
        w = gtk_radio_button_new_with_label (group, "N");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -555,7 +555,7 @@ create_canvas_primitives (GooCanvasItemModel *model,
 
        w = gtk_radio_button_new_with_label (group, "NE");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -565,7 +565,7 @@ create_canvas_primitives (GooCanvasItemModel *model,
 
        w = gtk_radio_button_new_with_label (group, "W");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -575,7 +575,7 @@ create_canvas_primitives (GooCanvasItemModel *model,
 
        w = gtk_radio_button_new_with_label (group, "C");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -585,7 +585,7 @@ create_canvas_primitives (GooCanvasItemModel *model,
 
        w = gtk_radio_button_new_with_label (group, "E");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -595,7 +595,7 @@ create_canvas_primitives (GooCanvasItemModel *model,
 
        w = gtk_radio_button_new_with_label (group, "SW");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -605,7 +605,7 @@ create_canvas_primitives (GooCanvasItemModel *model,
 
        w = gtk_radio_button_new_with_label (group, "S");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -615,7 +615,7 @@ create_canvas_primitives (GooCanvasItemModel *model,
 
        w = gtk_radio_button_new_with_label (group, "SE");
        group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (w));
-       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+       gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
        gtk_widget_show (w);
        g_signal_connect (w, "toggled",
                          G_CALLBACK (anchor_toggled),
@@ -628,7 +628,7 @@ create_canvas_primitives (GooCanvasItemModel *model,
 
        scrolled_win = gtk_scrolled_window_new (NULL, NULL);
        gtk_widget_show (scrolled_win);
-       gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+       gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
        gtk_widget_show (canvas);
        gtk_container_add (GTK_CONTAINER (scrolled_win), canvas);
diff --git a/demo/mv-generic-position-demo.c b/demo/mv-generic-position-demo.c
index 25ca3dd..b5a7570 100644
--- a/demo/mv-generic-position-demo.c
+++ b/demo/mv-generic-position-demo.c
@@ -192,7 +192,7 @@ create_window (GooCanvasItemModel *model)
 
   label = gtk_label_new ("Use Ctrl+Left Click to move items or Ctrl+Right Click to resize items");
   g_object_set (label, "halign", GTK_ALIGN_START, NULL);
-  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE);
   gtk_widget_show (label);
 
   /* Create top canvas. */
@@ -200,7 +200,7 @@ create_window (GooCanvasItemModel *model)
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                        GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = goo_canvas_new ();
   g_object_set (G_OBJECT (canvas), "integer-layout", TRUE, NULL);
diff --git a/demo/mv-table-demo.c b/demo/mv-table-demo.c
index 6fdb34d..10abc68 100644
--- a/demo/mv-table-demo.c
+++ b/demo/mv-table-demo.c
@@ -235,14 +235,14 @@ main (int argc, char *argv[])
 
   label = gtk_label_new ("Normal Layout");
   gtk_widget_show (label);
-  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE);
 
   /* Create top canvas. */
   scrolled_win = gtk_scrolled_window_new (NULL, NULL);
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                       GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = goo_canvas_new ();
   gtk_widget_set_size_request (canvas, 600, 250);
@@ -255,14 +255,14 @@ main (int argc, char *argv[])
 
   label = gtk_label_new ("Integer Layout");
   gtk_widget_show (label);
-  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE);
 
   /* Create bottom canvas. */
   scrolled_win = gtk_scrolled_window_new (NULL, NULL);
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                       GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = goo_canvas_new ();
   g_object_set (canvas,
diff --git a/demo/table-demo.c b/demo/table-demo.c
index 535b5db..7da2b35 100644
--- a/demo/table-demo.c
+++ b/demo/table-demo.c
@@ -225,20 +225,19 @@ main (int argc, char *argv[])
                    NULL);
 
   vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 4);
-  gtk_container_set_border_width (GTK_CONTAINER (vbox), 4);
   gtk_widget_show (vbox);
   gtk_container_add (GTK_CONTAINER (window), vbox);
 
   label = gtk_label_new ("Normal Layout");
   gtk_widget_show (label);
-  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE);
 
   /* Create top canvas. */
   scrolled_win = gtk_scrolled_window_new (NULL, NULL);
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                       GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = goo_canvas_new ();
   gtk_widget_set_size_request (canvas, 600, 250);
@@ -251,14 +250,14 @@ main (int argc, char *argv[])
 
   label = gtk_label_new ("Integer Layout");
   gtk_widget_show (label);
-  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE);
 
   /* Create bottom canvas. */
   scrolled_win = gtk_scrolled_window_new (NULL, NULL);
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                       GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = goo_canvas_new ();
   g_object_set (canvas,
diff --git a/demo/units-demo.c b/demo/units-demo.c
index c3ddd52..dad56bd 100644
--- a/demo/units-demo.c
+++ b/demo/units-demo.c
@@ -104,13 +104,13 @@ create_canvas (GtkUnit         units,
   gtk_widget_show (vbox);
 
   hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
-  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE);
   gtk_widget_show (hbox);
 
   canvas = goo_canvas_new ();
 
   w = gtk_label_new ("Zoom:");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
 
   adj = GTK_ADJUSTMENT (gtk_adjustment_new (1.00, 0.05, 100.00, 0.05, 0.50, 0.50));
@@ -119,11 +119,11 @@ create_canvas (GtkUnit         units,
                    G_CALLBACK (zoom_changed),
                    canvas);
   gtk_widget_set_size_request (w, 50, -1);
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
 
   scrolled_win = gtk_scrolled_window_new (NULL, NULL);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
   gtk_widget_show (scrolled_win);
 
   /* Create the canvas. */
diff --git a/demo/widgets-demo.c b/demo/widgets-demo.c
index 0cf735a..a376105 100644
--- a/demo/widgets-demo.c
+++ b/demo/widgets-demo.c
@@ -286,60 +286,60 @@ main (int argc, char *argv[])
   gtk_container_add (GTK_CONTAINER (window), vbox);
 
   hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
-  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE);
   gtk_widget_show (hbox);
 
   w = gtk_button_new_with_label ("Add Widget");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
   g_signal_connect (w, "clicked", G_CALLBACK (add_widget_clicked), NULL);
 
   w = gtk_button_new_with_label ("Remove Widget");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
   g_signal_connect (w, "clicked", G_CALLBACK (remove_widget_clicked), NULL);
 
   w = gtk_button_new_with_label ("Move Widget");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
   g_signal_connect (w, "clicked", G_CALLBACK (move_widget_clicked), NULL);
 
   w = gtk_button_new_with_label ("Change Anchor");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
   g_signal_connect (w, "clicked", G_CALLBACK (change_anchor_clicked), NULL);
 
   w = gtk_button_new_with_label ("Change Widget");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
   g_signal_connect (w, "clicked", G_CALLBACK (change_widget_clicked), NULL);
 
   hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
-  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE);
   gtk_widget_show (hbox);
 
   w = gtk_button_new_with_label ("Hide Canvas");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
   g_signal_connect (w, "clicked", G_CALLBACK (hide_canvas_clicked), NULL);
 
   w = gtk_button_new_with_label ("Show Canvas");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
   g_signal_connect (w, "clicked", G_CALLBACK (show_canvas_clicked), NULL);
 
   w = gtk_button_new_with_label ("Hide Item");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
   g_signal_connect (w, "clicked", G_CALLBACK (hide_item_clicked), NULL);
 
   w = gtk_button_new_with_label ("Show Item");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
   g_signal_connect (w, "clicked", G_CALLBACK (show_item_clicked), NULL);
 
   w = gtk_button_new_with_label ("Change Transform");
-  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (hbox), w, FALSE, FALSE);
   gtk_widget_show (w);
   g_signal_connect (w, "clicked", G_CALLBACK (change_transform_clicked), NULL);
 
@@ -347,7 +347,7 @@ main (int argc, char *argv[])
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
                                       GTK_SHADOW_IN);
   gtk_widget_show (scrolled_win);
-  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), scrolled_win, TRUE, TRUE);
 
   canvas = goo_canvas_new ();
   gtk_widget_set_can_focus (canvas, TRUE);
@@ -397,15 +397,15 @@ main (int argc, char *argv[])
 
   entry = gtk_entry_new ();
   gtk_widget_show (entry);
-  gtk_box_pack_start (GTK_BOX (vbox), entry, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), entry, FALSE, FALSE);
 
   entry = gtk_entry_new ();
   gtk_widget_show (entry);
-  gtk_box_pack_start (GTK_BOX (vbox), entry, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), entry, FALSE, FALSE);
 
   entry = gtk_entry_new ();
   gtk_widget_show (entry);
-  gtk_box_pack_start (GTK_BOX (vbox), entry, FALSE, FALSE, 0);
+  gtk_box_pack_start (GTK_BOX (vbox), entry, FALSE, FALSE);
 
   witem = goo_canvas_widget_new (root, vbox, 50, 600, -1, -1, NULL);
   g_object_set_data (G_OBJECT (witem), "id", "vbox");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]